The generator emits the following type declaration:
new JavaTransitiveInstancesKey(org.eclipse.emf.ecore.util.FeatureMap$Entry.class)
This results in a compile error.
Gábor Bergmann suspects that the problem is in the JavaTransitiveInstances constructor calls class.getName() instead of class.getCanonicalName() - it is worth checking.
| --- | --- | | Bugzilla Link | 578432 | | Status | NEW | | Importance | P3 normal | | Reported | Jan 28, 2022 09:19 EDT | | Modified | Jan 28, 2022 09:30 EDT | | Version | 2.6.0 | | Reporter | Zoltan Ujhelyi |
Description
The code generator does not support nested classes, e.g. consider the following pattern header:
pattern x(y : java org.eclipse.emf.ecore.util.FeatureMap.Entry) { ... }
The generator emits the following type declaration:
new JavaTransitiveInstancesKey(org.eclipse.emf.ecore.util.FeatureMap$Entry.class)
This results in a compile error.
Gábor Bergmann suspects that the problem is in the JavaTransitiveInstances constructor calls class.getName() instead of class.getCanonicalName() - it is worth checking.