Community
Participate
Working Groups
The code synthesis approach could support OCL evaluation on non-EObject run-time representations. The dispatch tables generation can continue to use the defining Ecore model to construct descriptors. At run-time, Object.getClass() can map to the corresponding Class, and property access can use the corresponding get method (that must exist). ?? Are the dispatch tables needed at all, or is a Java-reflection based dispatch just a slower lighterweight approach ??