Closed dvojtise closed 9 years ago
This bug is probably located here:
def String getPrimitiveIfWrapType(String name) {
val fqn = QualifiedName::create(name.split("\\."))
if (#[
"java.lang.Boolean", "java.lang.Byte",
"java.lang.Double", "java.lang.Float",
"java.lang.Integer", "java.lang.Long",
"java.lang.Short"
].contains(fqn.toString))
return fqn.lastSegment.toString.toLowerCase
else return name
}
( in JvmModelInferrerHelper.xtend )
in my FsmClockAspect I have an attribute of type Integer
this generates a buggy FSMClockAdapter.java with integer in lowercase
workaround use int intstead of Integer