|
Re: Dropping @Override from generated source [message #524885 is a reply to message #524813] |
Sat, 03 April 2010 09:08 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Steven,
You'll want to set the GenModel's Compliance Level property to 5.0.
Steven Stallion wrote:
> All,
>
> While generating EMF source, I noticed that @Override annotations were
> being specified for implemented interfaces (a Java 6 feature), however
> this plugin is targeting Java SE 1.5.
> Looking through the JET templates, I noticed the following:
> 357 <%if (genModel.useClassOverrideAnnotation()) {%>
> 358 @Override
> 359 <%}%>
>
> It appears that my only option is to disable emitting @Overrides
> annotations period (those used on interfaces use the same snippet
> above as those that don't).
>
> What is the proper attribute to set in the .genmodel to disable this
> annotation?
>
> TIA!
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02660 seconds