Class MethodDeclarationImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
org.eclipse.gmt.modisco.java.emf.impl.BodyDeclarationImpl
org.eclipse.gmt.modisco.java.emf.impl.AbstractMethodDeclarationImpl
org.eclipse.gmt.modisco.java.emf.impl.MethodDeclarationImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject,AbstractMethodDeclaration,ASTNode,BodyDeclaration,MethodDeclaration,NamedElement
- Direct Known Subclasses:
UnresolvedMethodDeclarationImpl
public class MethodDeclarationImpl extends AbstractMethodDeclarationImpl implements MethodDeclaration
An implementation of the model object 'Method Declaration'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields Modifier and Type Field Description protected static intEXTRA_ARRAY_DIMENSIONS_EDEFAULTThe default value of the 'Extra Array Dimensions' attribute.protected intextraArrayDimensionsThe cached value of the 'Extra Array Dimensions' attribute.protected MethodDeclarationredefinedMethodDeclarationThe cached value of the 'Redefined Method Declaration' reference.protected org.eclipse.emf.common.util.EList<MethodDeclaration>redefinitionsThe cached value of the 'Redefinitions' reference list.protected TypeAccessreturnTypeThe cached value of the 'Return Type' containment reference.Fields inherited from class org.eclipse.gmt.modisco.java.emf.impl.AbstractMethodDeclarationImpl
body, parameters, thrownExceptions, typeParameters, usages, usagesInDocCommentsFields inherited from class org.eclipse.gmt.modisco.java.emf.impl.BodyDeclarationImpl
annotations, modifierFields inherited from class org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
name, NAME_EDEFAULT, proxy, PROXY_EDEFAULT, usagesInImportsFields inherited from class org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
comments, originalClassFile, originalCompilationUnitFields 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 Modifier Constructor Description protectedMethodDeclarationImpl() -
Method Summary
Modifier and Type Method Description MethodDeclarationbasicGetRedefinedMethodDeclaration()org.eclipse.emf.common.notify.NotificationChainbasicSetRedefinedMethodDeclaration(MethodDeclaration newRedefinedMethodDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetReturnType(TypeAccess newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs)ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)intgetExtraArrayDimensions()MethodDeclarationgetRedefinedMethodDeclaration()org.eclipse.emf.common.util.EList<MethodDeclaration>getRedefinitions()TypeAccessgetReturnType()voidsetExtraArrayDimensions(int newExtraArrayDimensions)voidsetRedefinedMethodDeclaration(MethodDeclaration newRedefinedMethodDeclaration)voidsetReturnType(TypeAccess newReturnType)StringtoString()Methods inherited from class org.eclipse.gmt.modisco.java.emf.impl.AbstractMethodDeclarationImpl
basicSetBody, getBody, getParameters, getThrownExceptions, getTypeParameters, getUsages, getUsagesInDocComments, setBodyMethods inherited from class org.eclipse.gmt.modisco.java.emf.impl.BodyDeclarationImpl
basicGetAbstractTypeDeclaration, basicGetAnonymousClassDeclarationOwner, basicSetAbstractTypeDeclaration, basicSetAnonymousClassDeclarationOwner, basicSetModifier, eBasicRemoveFromContainerFeature, getAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifierMethods inherited from class org.eclipse.gmt.modisco.java.emf.impl.NamedElementImpl
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from class org.eclipse.gmt.modisco.java.emf.impl.ASTNodeImpl
basicGetOriginalClassFile, basicGetOriginalCompilationUnit, getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods 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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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.eclipse.gmt.modisco.java.AbstractMethodDeclaration
getBody, getParameters, getThrownExceptions, getTypeParameters, getUsages, getUsagesInDocComments, setBodyMethods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.gmt.modisco.java.BodyDeclaration
getAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifierMethods 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.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
EXTRA_ARRAY_DIMENSIONS_EDEFAULT
protected static final int EXTRA_ARRAY_DIMENSIONS_EDEFAULTThe default value of the 'Extra Array Dimensions' attribute.- See Also:
getExtraArrayDimensions(), Constant Field Values
-
extraArrayDimensions
protected int extraArrayDimensionsThe cached value of the 'Extra Array Dimensions' attribute.- See Also:
getExtraArrayDimensions()
-
returnType
The cached value of the 'Return Type' containment reference.- See Also:
getReturnType()
-
redefinedMethodDeclaration
The cached value of the 'Redefined Method Declaration' reference.- See Also:
getRedefinedMethodDeclaration()
-
redefinitions
The cached value of the 'Redefinitions' reference list.- See Also:
getRedefinitions()
-
-
Constructor Details
-
MethodDeclarationImpl
protected MethodDeclarationImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classAbstractMethodDeclarationImpl
-
getExtraArrayDimensions
public int getExtraArrayDimensions()- Specified by:
getExtraArrayDimensionsin interfaceMethodDeclaration- Returns:
- the value of the 'Extra Array Dimensions' attribute.
- See Also:
MethodDeclaration.setExtraArrayDimensions(int),JavaPackage.getMethodDeclaration_ExtraArrayDimensions()
-
setExtraArrayDimensions
public void setExtraArrayDimensions(int newExtraArrayDimensions)- Specified by:
setExtraArrayDimensionsin interfaceMethodDeclaration- Parameters:
newExtraArrayDimensions- the new value of the 'Extra Array Dimensions' attribute.- See Also:
MethodDeclaration.getExtraArrayDimensions()
-
getReturnType
- Specified by:
getReturnTypein interfaceMethodDeclaration- Returns:
- the value of the 'Return Type' containment reference.
- See Also:
MethodDeclaration.setReturnType(TypeAccess),JavaPackage.getMethodDeclaration_ReturnType()
-
basicSetReturnType
public org.eclipse.emf.common.notify.NotificationChain basicSetReturnType(TypeAccess newReturnType, org.eclipse.emf.common.notify.NotificationChain msgs) -
setReturnType
- Specified by:
setReturnTypein interfaceMethodDeclaration- Parameters:
newReturnType- the new value of the 'Return Type' containment reference.- See Also:
MethodDeclaration.getReturnType()
-
getRedefinedMethodDeclaration
- Specified by:
getRedefinedMethodDeclarationin interfaceMethodDeclaration- Returns:
- the value of the 'Redefined Method Declaration' reference.
- See Also:
MethodDeclaration.setRedefinedMethodDeclaration(MethodDeclaration),JavaPackage.getMethodDeclaration_RedefinedMethodDeclaration(),MethodDeclaration.getRedefinitions()
-
basicGetRedefinedMethodDeclaration
-
basicSetRedefinedMethodDeclaration
public org.eclipse.emf.common.notify.NotificationChain basicSetRedefinedMethodDeclaration(MethodDeclaration newRedefinedMethodDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs) -
setRedefinedMethodDeclaration
- Specified by:
setRedefinedMethodDeclarationin interfaceMethodDeclaration- Parameters:
newRedefinedMethodDeclaration- the new value of the 'Redefined Method Declaration' reference.- See Also:
MethodDeclaration.getRedefinedMethodDeclaration()
-
getRedefinitions
- Specified by:
getRedefinitionsin interfaceMethodDeclaration- Returns:
- the value of the 'Redefinitions' reference list.
- See Also:
JavaPackage.getMethodDeclaration_Redefinitions(),MethodDeclaration.getRedefinedMethodDeclaration()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseAddin classAbstractMethodDeclarationImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classAbstractMethodDeclarationImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classAbstractMethodDeclarationImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classAbstractMethodDeclarationImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classAbstractMethodDeclarationImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classAbstractMethodDeclarationImpl
-
toString
- Overrides:
toStringin classNamedElementImpl
-