Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321697

Summary: [mwe2] Allow referencing inner classifiers
Product: [Modeling] EMFT Reporter: Jan Koehnlein <jan>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, sven.efftinge, x545
Version: 1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jan Koehnlein CLA 2010-08-04 07:50:37 EDT
Currently, the MWE2 grammar allows to refer to top-level classes only.

Syntactically, the FQN rule does not allow inner class names, usually specified with a '$' as separator. 

I am not sure whether we have to change anything in the runtime libs. 

Related to that topic, the Mwe2ValueConverterService uses a simplistic implementation that allows to convert inner class names to String, but the result 
would not be lexable/parseable. This allows some content assist tests to pass, even though JvmTypes with invalid names are created internally. We should rather use something similar to the QualifiedNameValueConverter introduced in https://bugs.eclipse.org/bugs/show_bug.cgi?id=319987
Comment 1 Christian Dietrich CLA 2020-10-19 08:43:33 EDT
currently Outer.Inner works