k3
k3 copied to clipboard
Problem when aspectizing classes with name equals to classes from java.lang.*
I have a issue with a class named "System" this class is placed in another package (ie. not in the package containing the aspect) (in my original use case, the System class comes from an ecore)
sometimes even if the import is correctly set, then xtend doesn' recognize it correctly (the hovering info indicates that it is java.lang.System instead of the correct class)
sometimes (don't know why yet) the import is partly taken into account by xtend, but the generated java code fails due to missing import in the *AspectContext.java and thus having a HashMap of java.lang.System instead of mypackage.System
(excerpt of generated code: private Map<org.gemoc.sample.tfsm.System,SystemAspectSystemAspectProperties> map = new java.util.HashMap<System, tfsm.SystemAspectSystemAspectProperties>();
)