|
Re: [Ecore] Java 8 default methods for interfaces [message #1395933 is a reply to message #1395347] |
Mon, 07 July 2014 16:15 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Dennis,
Comments below.
On 07/07/2014 3:39 PM, Dennis Weir wrote:
> Hi,
>
> I have tried using the Java 8 default methods for interfaces within an
> ecore model to minimise manually written code, but I couldn't find any
> drop-down choices or attributes to do this.
No, we don't have any support for Java 8 yet, including not having the
ability to even parse it.
> Editing the generated code didn't go too well either, since the
> defaults were not recognised and the empty methods were still
> generated in the classes, making the default methods obsolete.
> Does anyone know a way to realise this, or is it just not possible yet?
Just not possible yet. Please open a bugzilla enhancement request. It
would be interest to explore what possible new code generation patterns
could be supported...
>
> Kind regards
> Dennis
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02060 seconds