public XFeatureCall createReferenceToThis ( ) { final XExpression expr = getXExpression ( ) ; XtendTypeDeclaration type = EcoreUtil2 . getContainerOfType ( expr , XtendTypeDeclaration . class ) ; JvmType jvmObject = getAssociatedElement ( JvmType . class , type , expr . eResource ( ) ) ; final XFeatureCall thisFeature = XbaseFactory . eINSTANCE . createXFeatureCall ( ) ; thisFeature . setFeature ( jvmObject ) ; return thisFeature ; }
Create a reference to this object or to the current type .