Community
Participate
Working Groups
I've defined a query doSomething(EObject) and I was surprised I could not call it with a "uml.Package" for example. I know now that the query should have been defined as doSomething(OclAny) but it could be useful to treat EObject as OclAny.
Acceleo adds to OclAny most of the necessary operations from EObject (ancestors(), siblings() etc). I you need anything on OclAny, feel free to ask but the root type of all model element in Acceleo is OclAny not EObject so EObject should not be used as the type of anything in an Acceleo generator that is not defined on Ecore.
Closing resolved bugs