Interface Method
-
- All Superinterfaces:
AnnotableAndModifiable
,ArrayTypeable
,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, ArrayTypeable, 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
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.arrays.ArrayTypeable
getArrayDimension, getArrayDimensionsAfter, getArrayDimensionsBefore
-
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"
-
-