Pregunta

After removing an attribute from an ecore model, I re-generate the code, but the methods from the removed attributes remains in the generated code. Is there an automatic way to remove this code?

Edit - the code is removed from the interface, but not from the implementation. I would like to remove it from the implementation.

¿Fue útil?

Solución

That does not always work, the only way I know is to delete the impl classes and re-generate the code based on the new ecore model.

Otros consejos

If your implementation classes have the @generated tag in the javadoc of the attributes, they should be removed too.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top