Interface Method
-
- All Superinterfaces:
AnnotableAndModifiable
,Commentable
,EObject
,ExceptionThrower
,Member
,NamedElement
,Notifier
,Parametrizable
,ReferenceableElement
,StatementContainer
,TypedElement
,TypeParametrizable
- All Known Subinterfaces:
ClassMethod
,InterfaceMethod
- All Known Implementing Classes:
ClassMethodImpl
,InterfaceMethodImpl
,MethodImpl
public interface Method extends Member, TypedElement, TypeParametrizable, Parametrizable, ReferenceableElement, ExceptionThrower, AnnotableAndModifiable, StatementContainer
A representation of the model object 'Method'.- See Also:
MembersPackage.getMethod()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Block
getBlock()
EList<Statement>
getStatements()
boolean
isBetterMethodForCall(Method otherMethod, MethodCall methodCall)
boolean
isMethodForCall(MethodCall methodCall, boolean needsPerfectMatch)
boolean
isSignatureMatching(Method otherMethod)
boolean
isSomeMethodForCall(MethodCall methodCall)
-
Methods inherited from interface org.emftext.language.java.modifiers.AnnotableAndModifiable
addModifier, getAnnotationInstances, getAnnotationsAndModifiers, getModifiers, hasModifier, isHidden, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeModifier
-
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.members.ExceptionThrower
getExceptions
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.parameters.Parametrizable
getParameters
-
Methods inherited from interface org.emftext.language.java.statements.StatementContainer
getStatement, setStatement
-
Methods inherited from interface org.emftext.language.java.types.TypedElement
getTypeReference, setTypeReference
-
Methods inherited from interface org.emftext.language.java.generics.TypeParametrizable
getTypeParameters
-
-
-
-
Method Detail
-
isMethodForCall
boolean isMethodForCall(MethodCall methodCall, boolean needsPerfectMatch)
- Generated class or method.
- EMF model class or method.
-
isSomeMethodForCall
boolean isSomeMethodForCall(MethodCall methodCall)
- Generated class or method.
- EMF model class or method.
-
isBetterMethodForCall
boolean isBetterMethodForCall(Method otherMethod, MethodCall methodCall)
- Generated class or method.
- EMF model class or method.
-
getBlock
Block getBlock()
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true"
-
getStatements
EList<Statement> getStatements()
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true" many="false"
-
isSignatureMatching
boolean isSignatureMatching(Method otherMethod)
- Generated class or method.
- EMF model class or method.
- required="true" otherMethodRequired="true"
-
-