Hello,
I've the following .egl file:
[% for (oper in currentClass.AllOperations) {%]
[%=oper.visibility%] [%=oper.type.name%] [%=oper.name%] () {
}
[%}%]
The problem is that [%=oper.type.name%] is not working. It gives me an Called feature name on undefined object error. If I put [%=oper.type%] it shows me:
org.eclipse.uml2.uml.internal.impl.PrimitiveTypeImpl@14f6ce4 (name: Boolean, visibility: <unset>) (isLeaf: false, isAbstract: false, isFinalSpecialization: false)
And, as I want to get the name of the type, I wrote [%=oper.type.name%] but it's not working.
I made a similar file with attributes instead of operations, and [%=attr.type.name%] worked fine.
If anyone could help me.
Thanks in advance.
[Updated on: Fri, 12 October 2012 04:54]
Report message to a moderator