Interface ElementReference
- All Superinterfaces:
AdditiveExpressionChild,AndExpressionChild,AnnotationValue,ArrayInitializationValue,AssignmentExpressionChild,Commentable,ConditionalAndExpressionChild,ConditionalExpressionChild,ConditionalOrExpressionChild,EObject,EqualityExpressionChild,ExclusiveOrExpressionChild,Expression,InclusiveOrExpressionChild,InstanceOfExpressionChild,LambdaBody,MethodReferenceExpressionChild,MultiplicativeExpressionChild,Notifier,PrimaryExpression,Reference,RelationExpressionChild,Resource,ShiftExpressionChild,TypeArgumentable,TypedElementExtension,UnaryExpressionChild,UnaryModificationExpressionChild
- All Known Subinterfaces:
IdentifierReference,MethodCall
- All Known Implementing Classes:
ElementReferenceImpl,IdentifierReferenceImpl,MethodCallImpl
A representation of the model object 'Element Reference'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Contained Target' containment reference.Returns the value of the 'Target' reference.voidSets the value of the 'Contained Target' containment reference.voidsetTarget(ReferenceableElement value) Sets the value of the 'Target' reference.Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClassMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getTypeMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.emftext.language.java.references.Reference
getArraySelectors, getNext, getPrevious, getReferencedType, getReferencedTypeReference, setNextMethods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArgumentsMethods inherited from interface org.emftext.language.java.types.TypedElementExtension
getActualTargets
-
Method Details
-
getTarget
ReferenceableElement getTarget()Returns the value of the 'Target' reference.- Returns:
- the value of the 'Target' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setTarget
Sets the value of the 'Target' reference.- Parameters:
value- the new value of the 'Target' reference.- See Also:
- Generated class or method.
-
getContainedTarget
ReferenceableElement getContainedTarget()Returns the value of the 'Contained Target' containment reference.- Returns:
- the value of the 'Contained Target' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setContainedTarget
Sets the value of the 'Contained Target' containment reference.- Parameters:
value- the new value of the 'Contained Target' containment reference.- See Also:
- Generated class or method.
-