java final, @Override keywords [message #1790495] |
Mon, 11 June 2018 16:09  |
Eclipse User |
|
|
|
Are there any stereotypes from ant profiles that will allow the java code generation to add the 'final ' keyword.
In a similar way, is there any way to get any of the java annotations generated, eg @Override, @Nullable.
Thanks,
Steve
|
|
|
Re: java final, @Override keywords [message #1790753 is a reply to message #1790495] |
Fri, 15 June 2018 11:18  |
Eclipse User |
|
|
|
The final keyword is supported for different elements.
In case of an attribute or a method, it can be controlled via the UML "isLeaf" property. Note that this property is somewhat hidden as it is only visible in Papyrus "Advanced" dialog,
The Java profile have a stereotype called "Final" which can be applied to a parameter.
As far as I know, Java annotations are currently not supported
|
|
|
Powered by
FUDForum. Page generated in 0.03029 seconds