Package org.eclipse.gmt.modisco.java
Interface MethodRef
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
MethodRefImpl
public interface MethodRef extends ASTNode
A representation of the model object 'Method Ref'.
The following features are supported:
- See Also:
JavaPackage.getMethodRef()
-
Method Summary
Modifier and Type Method Description AbstractMethodDeclarationgetMethod()Returns the value of the 'Method' reference.org.eclipse.emf.common.util.EList<MethodRefParameter>getParameters()Returns the value of the 'Parameters' containment reference list.TypeAccessgetQualifier()Returns the value of the 'Qualifier' containment reference.voidsetMethod(AbstractMethodDeclaration value)Sets the value of the 'Method' reference.voidsetQualifier(TypeAccess value)Sets the value of the 'Qualifier' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods 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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getMethod
AbstractMethodDeclaration getMethod()Returns the value of the 'Method' reference. It is bidirectional and its opposite is 'Usages In Doc Comments'.- Returns:
- the value of the 'Method' reference.
- See Also:
setMethod(AbstractMethodDeclaration),JavaPackage.getMethodRef_Method(),AbstractMethodDeclaration.getUsagesInDocComments()
-
setMethod
Sets the value of the 'Method' reference.- Parameters:
value- the new value of the 'Method' reference.- See Also:
getMethod()
-
getQualifier
TypeAccess getQualifier()Returns the value of the 'Qualifier' containment reference.- Returns:
- the value of the 'Qualifier' containment reference.
- See Also:
setQualifier(TypeAccess),JavaPackage.getMethodRef_Qualifier()
-
setQualifier
Sets the value of the 'Qualifier' containment reference.- Parameters:
value- the new value of the 'Qualifier' containment reference.- See Also:
getQualifier()
-
getParameters
org.eclipse.emf.common.util.EList<MethodRefParameter> getParameters()Returns the value of the 'Parameters' containment reference list. The list contents are of typeMethodRefParameter.- Returns:
- the value of the 'Parameters' containment reference list.
- See Also:
JavaPackage.getMethodRef_Parameters()
-