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:
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
Method Summary
Modifier and TypeMethodDescriptiongetBlock()booleanisBetterMethodForCall(Method otherMethod, MethodCall methodCall) booleanisMethodForCall(MethodCall methodCall, boolean needsPerfectMatch) booleanisSignatureMatching(Method otherMethod) booleanisSomeMethodForCall(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, removeModifierMethods 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.members.ExceptionThrower
getExceptionsMethods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setNameMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.emftext.language.java.parameters.Parametrizable
getParametersMethods inherited from interface org.emftext.language.java.statements.StatementContainer
getStatement, setStatementMethods inherited from interface org.emftext.language.java.types.TypedElement
getTypeReference, setTypeReferenceMethods inherited from interface org.emftext.language.java.generics.TypeParametrizable
getTypeParameters
-
Method Details
-
isMethodForCall
- Generated class or method.
- EMF model class or method.
-
isSomeMethodForCall
- Generated class or method.
- EMF model class or method.
-
isBetterMethodForCall
- 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
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true" many="false"
-
isSignatureMatching
- Generated class or method.
- EMF model class or method.
- required="true" otherMethodRequired="true"
-