«IMPORT 'http://www.eclipse.org/gmf/2009/GenModel'» «IMPORT 'http://www.eclipse.org/emf/2002/GenModel'» «EXTENSION gmf::EMFUtils» «AROUND getDiagramVisualID FOR gmfgen::GenDiagram-» «EXPAND xpt::Common::generatedMemberComment» public static void myFunction() { «getReferencingObjects(self)» } «ENDAROUND»
<extension point="org.eclipse.m2m.qvt.oml.javaBlackboxUnits"> <unit name="EMFUtils" namespace="gmf"> <library class="org.eclipse.gmf.internal.codegen.util.EMFUtils"> <metamodel nsURI="http://www.eclipse.org/emf/2002/Ecore"/> </library> </unit> </extension>