I use Acceleo in order to generate code with a model I have made. I managed to protect my methods in order to protect them usinig "@generated NOT" in case I need to regenerate my code with Acceleo. The problem is that adding @generated NOT protect all the method content, that is to say the body, the signature and JavaDocs.
The thing is that I only need to keep the method body, or at least the method body and its signature, but I need the doc to be updated. How can I do this ?
Just for information here is an example of a potential generated class :
/*
* @generated
*/
public class ActeurRefEntrepriseServicesImpl implements ActeurRefEntrepriseServices {
@Autowired
HelloWorldService helloWorldService;
/**
* Service which say hello
*
* @param name
* user name
* @return print Hello username
*
* @generated NOT
*/
@Override
public void sayHello(final String name) {
helloWorldService.print(name);
}
}