Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Only static inner classes?
Only static inner classes? [message #1774946] Sun, 22 October 2017 06:30 Go to next message
Eclipse UserFriend
Dear all.

In Xtend, we cannot declare an inner class without the static modifier.

What are the arguments for this decision, which is different than within the Java specifications?

All the best.
Stéphane.
Re: Only static inner classes? [message #1774948 is a reply to message #1774946] Sun, 22 October 2017 07:55 Go to previous messageGo to next message
Eclipse UserFriend
Hi Stéphane,

I've found this on Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=376399#c7

Cheers,
Akos
Re: Only static inner classes? [message #1774949 is a reply to message #1774946] Sun, 22 October 2017 08:27 Go to previous messageGo to next message
Eclipse UserFriend
I would second Jan's argumentation in Bug#376399. So far I don't think that Xtend needs this. We do not aim to rebuild all Java features, but rather hide complexity and leave out things for simplicity.
Re: Only static inner classes? [message #1774950 is a reply to message #1774949] Sun, 22 October 2017 09:17 Go to previous message
Eclipse UserFriend
Dear all.
Thank you for your pointers. The explanations are clear and make sense.
All the best.
Stéphane.
Previous Topic:Importing a Metamodel in XText 2.12.
Next Topic:DSL runtime workspace blocks at start waiting for non-existing .*._trace files to be refreshed
Goto Forum:
  


Current Time: Wed Jul 16 11:07:46 EDT 2025

Powered by FUDForum. Page generated in 0.05059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top