Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363578 - How to do statics?
Summary: How to do statics?
Status: CLOSED DUPLICATE of bug 363019
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-11 07:35 EST by Peter Kriens CLA
Modified: 2011-11-11 09:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Kriens CLA 2011-11-11 07:35:02 EST
It is not clear from the documentation how to do static. E.g. how to do a main program?

There are good reasons to not support statics but it would be nice if this was discussed in the documentation.

BTW, really interesting approach!
Comment 1 Moritz Eysholdt CLA 2011-11-11 09:00:23 EST
hi Peter,

I'd prefer code without static as well. However, to support java's "main" and integration with other frameworks, we'll add support for static methods and fields. See bug 363019 for more information.

*** This bug has been marked as a duplicate of bug 363019 ***