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.void
Sets the value of the 'Contained Target
' containment reference.void
setTarget
(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, getStringClass
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneType, getOneTypeReference, getType
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.emftext.language.java.references.Reference
getArraySelectors, getNext, getPrevious, getReferencedType, getReferencedTypeReference, setNext
Methods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArguments
Methods 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.
-