Class MethodImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.emftext.language.java.commons.impl.CommentableImpl
org.emftext.language.java.commons.impl.NamedElementImpl
org.emftext.language.java.members.impl.MemberImpl
org.emftext.language.java.members.impl.MethodImpl
- All Implemented Interfaces:
Notifier,EObject,EStructuralFeature.Internal.DynamicValueHolder,InternalEObject,Commentable,NamedElement,TypeParametrizable,ExceptionThrower,Member,Method,AnnotableAndModifiable,Parametrizable,ReferenceableElement,StatementContainer,TypedElement
- Direct Known Subclasses:
ClassMethodImpl,InterfaceMethodImpl
An implementation of the model object 'Method'.
The following features are implemented:
- Generated class or method.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EList<AnnotationInstanceOrModifier>The cached value of the 'Annotations And Modifiers' containment reference list.protected EList<NamespaceClassifierReference>The cached value of the 'Exceptions' containment reference list.The cached value of the 'Parameters' containment reference list.protected StatementThe cached value of the 'Statement' containment reference.protected EList<TypeParameter>The cached value of the 'Type Parameters' containment reference list.protected TypeReferenceThe cached value of the 'Type Reference' containment reference.Fields inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
name, NAME_EDEFAULTFields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformationsFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NILFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModifier(Modifier newModifier) basicSetStatement(Statement newStatement, NotificationChain msgs) basicSetTypeReference(TypeReference newTypeReference, NotificationChain msgs) inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) eGet(int featureID, boolean resolve, boolean coreType) eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) booleaneIsSet(int featureID) voidprotected EClassvoideUnset(int featureID) getBlock()booleanhasModifier(Class<?> type) booleanisBetterMethodForCall(Method otherMethod, MethodCall methodCall) booleanisHidden(Commentable context) booleanisMethodForCall(MethodCall methodCall, boolean needsPerfectMatch) booleanbooleanbooleanisPublic()booleanisSignatureMatching(Method otherMethod) booleanisSomeMethodForCall(MethodCall methodCall) booleanisStatic()voidvoidvoidvoidvoidremoveModifier(Class<?> modifierType) voidsetStatement(Statement newStatement) voidsetTypeReference(TypeReference newTypeReference) Methods inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
getName, setName, toStringMethods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
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 class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setNameMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
typeReference
The cached value of the 'Type Reference' containment reference.- See Also:
- Generated class or method.
- Ordered collection.
-
typeParameters
The cached value of the 'Type Parameters' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
parameters
The cached value of the 'Parameters' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
exceptions
The cached value of the 'Exceptions' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
annotationsAndModifiers
The cached value of the 'Annotations And Modifiers' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
statement
The cached value of the 'Statement' containment reference.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
MethodImpl
protected MethodImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClassin classMemberImpl- Generated class or method.
-
getTypeReference
- Specified by:
getTypeReferencein interfaceTypedElement- Returns:
- the value of the 'Type Reference' containment reference.
- See Also:
- Generated class or method.
-
basicGetTypeReference
- Generated class or method.
-
basicSetTypeReference
public NotificationChain basicSetTypeReference(TypeReference newTypeReference, NotificationChain msgs) - Generated class or method.
-
setTypeReference
- Specified by:
setTypeReferencein interfaceTypedElement- Parameters:
newTypeReference- the new value of the 'Type Reference' containment reference.- See Also:
- Generated class or method.
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceTypeParametrizable- Returns:
- the value of the 'Type Parameters' containment reference list.
- See Also:
- Generated class or method.
-
getParameters
- Specified by:
getParametersin interfaceParametrizable- Returns:
- the value of the 'Parameters' containment reference list.
- See Also:
- Generated class or method.
-
getExceptions
- Specified by:
getExceptionsin interfaceExceptionThrower- Returns:
- the value of the 'Exceptions' containment reference list.
- See Also:
- Generated class or method.
-
getAnnotationsAndModifiers
- Specified by:
getAnnotationsAndModifiersin interfaceAnnotableAndModifiable- Returns:
- the value of the 'Annotations And Modifiers' containment reference list.
- See Also:
- Generated class or method.
-
getStatement
- Specified by:
getStatementin interfaceStatementContainer- Returns:
- the value of the 'Statement' containment reference.
- See Also:
- Generated class or method.
-
basicGetStatement
- Generated class or method.
-
basicSetStatement
- Generated class or method.
-
setStatement
- Specified by:
setStatementin interfaceStatementContainer- Parameters:
newStatement- the new value of the 'Statement' containment reference.- See Also:
- Generated class or method.
-
isMethodForCall
- Specified by:
isMethodForCallin interfaceMethod- Generated class or method.
-
isSomeMethodForCall
- Specified by:
isSomeMethodForCallin interfaceMethod- Generated class or method.
-
isBetterMethodForCall
- Specified by:
isBetterMethodForCallin interfaceMethod- Generated class or method.
-
getBlock
-
getStatements
- Specified by:
getStatementsin interfaceMethod- Generated class or method.
-
isSignatureMatching
- Specified by:
isSignatureMatchingin interfaceMethod- Generated class or method.
-
isHidden
- Specified by:
isHiddenin interfaceAnnotableAndModifiable- Generated class or method.
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceAnnotableAndModifiable- Generated class or method.
-
removeModifier
- Specified by:
removeModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
makePublic
public void makePublic()- Specified by:
makePublicin interfaceAnnotableAndModifiable- Generated class or method.
-
makePrivate
public void makePrivate()- Specified by:
makePrivatein interfaceAnnotableAndModifiable- Generated class or method.
-
makeProtected
public void makeProtected()- Specified by:
makeProtectedin interfaceAnnotableAndModifiable- Generated class or method.
-
getModifiers
- Specified by:
getModifiersin interfaceAnnotableAndModifiable- Generated class or method.
-
removeAllModifiers
public void removeAllModifiers()- Specified by:
removeAllModifiersin interfaceAnnotableAndModifiable- Generated class or method.
-
hasModifier
- Specified by:
hasModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceAnnotableAndModifiable- Generated class or method.
-
isPrivate
public boolean isPrivate()- Specified by:
isPrivatein interfaceAnnotableAndModifiable- Generated class or method.
-
isProtected
public boolean isProtected()- Specified by:
isProtectedin interfaceAnnotableAndModifiable- Generated class or method.
-
addModifier
- Specified by:
addModifierin interfaceAnnotableAndModifiable- Generated class or method.
-
getAnnotationInstances
- Specified by:
getAnnotationInstancesin interfaceAnnotableAndModifiable- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemovein classCommentableImpl- Generated class or method.
-
eGet
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classNamedElementImpl- Generated class or method.
-
eSet
- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classNamedElementImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classNamedElementImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classNamedElementImpl- Generated class or method.
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureIDin interfaceInternalEObject- Overrides:
eBaseStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureIDin interfaceInternalEObject- Overrides:
eDerivedStructuralFeatureIDin classBasicEObjectImpl- Generated class or method.
-