Class ModifierImpl
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.ModifierImpl
- 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,ASTNode,Modifier
public class ModifierImpl extends ASTNodeImpl implements Modifier
An implementation of the model object 'Modifier'.
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 InheritanceKindinheritanceThe cached value of the 'Inheritance' attribute.protected static InheritanceKindINHERITANCE_EDEFAULTThe default value of the 'Inheritance' attribute.protected booleannative_The cached value of the 'Native' attribute.protected static booleanNATIVE_EDEFAULTThe default value of the 'Native' attribute.protected booleanstatic_The cached value of the 'Static' attribute.protected static booleanSTATIC_EDEFAULTThe default value of the 'Static' attribute.protected booleanstrictfp_The cached value of the 'Strictfp' attribute.protected static booleanSTRICTFP_EDEFAULTThe default value of the 'Strictfp' attribute.protected booleansynchronized_The cached value of the 'Synchronized' attribute.protected static booleanSYNCHRONIZED_EDEFAULTThe default value of the 'Synchronized' attribute.protected booleantransient_The cached value of the 'Transient' attribute.protected static booleanTRANSIENT_EDEFAULTThe default value of the 'Transient' attribute.protected VisibilityKindvisibilityThe cached value of the 'Visibility' attribute.protected static VisibilityKindVISIBILITY_EDEFAULTThe default value of the 'Visibility' attribute.protected booleanvolatile_The cached value of the 'Volatile' attribute.protected static booleanVOLATILE_EDEFAULTThe default value of the 'Volatile' attribute.Fields 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 protectedModifierImpl() -
Method Summary
Modifier and Type Method Description BodyDeclarationbasicGetBodyDeclaration()SingleVariableDeclarationbasicGetSingleVariableDeclaration()VariableDeclarationExpressionbasicGetVariableDeclarationExpression()VariableDeclarationStatementbasicGetVariableDeclarationStatement()org.eclipse.emf.common.notify.NotificationChainbasicSetBodyDeclaration(BodyDeclaration newBodyDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetSingleVariableDeclaration(SingleVariableDeclaration newSingleVariableDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetVariableDeclarationExpression(VariableDeclarationExpression newVariableDeclarationExpression, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetVariableDeclarationStatement(VariableDeclarationStatement newVariableDeclarationStatement, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineBasicRemoveFromContainerFeature(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)BodyDeclarationgetBodyDeclaration()InheritanceKindgetInheritance()SingleVariableDeclarationgetSingleVariableDeclaration()VariableDeclarationExpressiongetVariableDeclarationExpression()VariableDeclarationStatementgetVariableDeclarationStatement()VisibilityKindgetVisibility()booleanisNative()booleanisStatic()booleanisStrictfp()booleanisSynchronized()booleanisTransient()booleanisVolatile()voidsetBodyDeclaration(BodyDeclaration newBodyDeclaration)voidsetInheritance(InheritanceKind newInheritance)voidsetNative(boolean newNative)voidsetSingleVariableDeclaration(SingleVariableDeclaration newSingleVariableDeclaration)voidsetStatic(boolean newStatic)voidsetStrictfp(boolean newStrictfp)voidsetSynchronized(boolean newSynchronized)voidsetTransient(boolean newTransient)voidsetVariableDeclarationExpression(VariableDeclarationExpression newVariableDeclarationExpression)voidsetVariableDeclarationStatement(VariableDeclarationStatement newVariableDeclarationStatement)voidsetVisibility(VisibilityKind newVisibility)voidsetVolatile(boolean newVolatile)StringtoString()Methods 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.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods 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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
VISIBILITY_EDEFAULT
The default value of the 'Visibility' attribute.- See Also:
getVisibility()
-
visibility
The cached value of the 'Visibility' attribute.- See Also:
getVisibility()
-
INHERITANCE_EDEFAULT
The default value of the 'Inheritance' attribute.- See Also:
getInheritance()
-
inheritance
The cached value of the 'Inheritance' attribute.- See Also:
getInheritance()
-
STATIC_EDEFAULT
protected static final boolean STATIC_EDEFAULTThe default value of the 'Static' attribute.- See Also:
isStatic(), Constant Field Values
-
static_
protected boolean static_The cached value of the 'Static' attribute.- See Also:
isStatic()
-
TRANSIENT_EDEFAULT
protected static final boolean TRANSIENT_EDEFAULTThe default value of the 'Transient' attribute.- See Also:
isTransient(), Constant Field Values
-
transient_
protected boolean transient_The cached value of the 'Transient' attribute.- See Also:
isTransient()
-
VOLATILE_EDEFAULT
protected static final boolean VOLATILE_EDEFAULTThe default value of the 'Volatile' attribute.- See Also:
isVolatile(), Constant Field Values
-
volatile_
protected boolean volatile_The cached value of the 'Volatile' attribute.- See Also:
isVolatile()
-
NATIVE_EDEFAULT
protected static final boolean NATIVE_EDEFAULTThe default value of the 'Native' attribute.- See Also:
isNative(), Constant Field Values
-
native_
protected boolean native_The cached value of the 'Native' attribute.- See Also:
isNative()
-
STRICTFP_EDEFAULT
protected static final boolean STRICTFP_EDEFAULTThe default value of the 'Strictfp' attribute.- See Also:
isStrictfp(), Constant Field Values
-
strictfp_
protected boolean strictfp_The cached value of the 'Strictfp' attribute.- See Also:
isStrictfp()
-
SYNCHRONIZED_EDEFAULT
protected static final boolean SYNCHRONIZED_EDEFAULTThe default value of the 'Synchronized' attribute.- See Also:
isSynchronized(), Constant Field Values
-
synchronized_
protected boolean synchronized_The cached value of the 'Synchronized' attribute.- See Also:
isSynchronized()
-
-
Constructor Details
-
ModifierImpl
protected ModifierImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classASTNodeImpl
-
getVisibility
- Specified by:
getVisibilityin interfaceModifier- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind,Modifier.setVisibility(VisibilityKind),JavaPackage.getModifier_Visibility()
-
setVisibility
- Specified by:
setVisibilityin interfaceModifier- Parameters:
newVisibility- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind,Modifier.getVisibility()
-
getInheritance
- Specified by:
getInheritancein interfaceModifier- Returns:
- the value of the 'Inheritance' attribute.
- See Also:
InheritanceKind,Modifier.setInheritance(InheritanceKind),JavaPackage.getModifier_Inheritance()
-
setInheritance
- Specified by:
setInheritancein interfaceModifier- Parameters:
newInheritance- the new value of the 'Inheritance' attribute.- See Also:
InheritanceKind,Modifier.getInheritance()
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceModifier- Returns:
- the value of the 'Static' attribute.
- See Also:
Modifier.setStatic(boolean),JavaPackage.getModifier_Static()
-
setStatic
public void setStatic(boolean newStatic)- Specified by:
setStaticin interfaceModifier- Parameters:
newStatic- the new value of the 'Static' attribute.- See Also:
Modifier.isStatic()
-
isTransient
public boolean isTransient()- Specified by:
isTransientin interfaceModifier- Returns:
- the value of the 'Transient' attribute.
- See Also:
Modifier.setTransient(boolean),JavaPackage.getModifier_Transient()
-
setTransient
public void setTransient(boolean newTransient)- Specified by:
setTransientin interfaceModifier- Parameters:
newTransient- the new value of the 'Transient' attribute.- See Also:
Modifier.isTransient()
-
isVolatile
public boolean isVolatile()- Specified by:
isVolatilein interfaceModifier- Returns:
- the value of the 'Volatile' attribute.
- See Also:
Modifier.setVolatile(boolean),JavaPackage.getModifier_Volatile()
-
setVolatile
public void setVolatile(boolean newVolatile)- Specified by:
setVolatilein interfaceModifier- Parameters:
newVolatile- the new value of the 'Volatile' attribute.- See Also:
Modifier.isVolatile()
-
isNative
public boolean isNative()- Specified by:
isNativein interfaceModifier- Returns:
- the value of the 'Native' attribute.
- See Also:
Modifier.setNative(boolean),JavaPackage.getModifier_Native()
-
setNative
public void setNative(boolean newNative)- Specified by:
setNativein interfaceModifier- Parameters:
newNative- the new value of the 'Native' attribute.- See Also:
Modifier.isNative()
-
isStrictfp
public boolean isStrictfp()- Specified by:
isStrictfpin interfaceModifier- Returns:
- the value of the 'Strictfp' attribute.
- See Also:
Modifier.setStrictfp(boolean),JavaPackage.getModifier_Strictfp()
-
setStrictfp
public void setStrictfp(boolean newStrictfp)- Specified by:
setStrictfpin interfaceModifier- Parameters:
newStrictfp- the new value of the 'Strictfp' attribute.- See Also:
Modifier.isStrictfp()
-
isSynchronized
public boolean isSynchronized()- Specified by:
isSynchronizedin interfaceModifier- Returns:
- the value of the 'Synchronized' attribute.
- See Also:
Modifier.setSynchronized(boolean),JavaPackage.getModifier_Synchronized()
-
setSynchronized
public void setSynchronized(boolean newSynchronized)- Specified by:
setSynchronizedin interfaceModifier- Parameters:
newSynchronized- the new value of the 'Synchronized' attribute.- See Also:
Modifier.isSynchronized()
-
getBodyDeclaration
- Specified by:
getBodyDeclarationin interfaceModifier- Returns:
- the value of the 'Body Declaration' container reference.
- See Also:
Modifier.setBodyDeclaration(BodyDeclaration),JavaPackage.getModifier_BodyDeclaration(),BodyDeclaration.getModifier()
-
basicGetBodyDeclaration
-
basicSetBodyDeclaration
public org.eclipse.emf.common.notify.NotificationChain basicSetBodyDeclaration(BodyDeclaration newBodyDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs) -
setBodyDeclaration
- Specified by:
setBodyDeclarationin interfaceModifier- Parameters:
newBodyDeclaration- the new value of the 'Body Declaration' container reference.- See Also:
Modifier.getBodyDeclaration()
-
getSingleVariableDeclaration
- Specified by:
getSingleVariableDeclarationin interfaceModifier- Returns:
- the value of the 'Single Variable Declaration' container reference.
- See Also:
Modifier.setSingleVariableDeclaration(SingleVariableDeclaration),JavaPackage.getModifier_SingleVariableDeclaration(),SingleVariableDeclaration.getModifier()
-
basicGetSingleVariableDeclaration
-
basicSetSingleVariableDeclaration
public org.eclipse.emf.common.notify.NotificationChain basicSetSingleVariableDeclaration(SingleVariableDeclaration newSingleVariableDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs) -
setSingleVariableDeclaration
- Specified by:
setSingleVariableDeclarationin interfaceModifier- Parameters:
newSingleVariableDeclaration- the new value of the 'Single Variable Declaration' container reference.- See Also:
Modifier.getSingleVariableDeclaration()
-
getVariableDeclarationStatement
- Specified by:
getVariableDeclarationStatementin interfaceModifier- Returns:
- the value of the 'Variable Declaration Statement' container reference.
- See Also:
Modifier.setVariableDeclarationStatement(VariableDeclarationStatement),JavaPackage.getModifier_VariableDeclarationStatement(),VariableDeclarationStatement.getModifier()
-
basicGetVariableDeclarationStatement
-
basicSetVariableDeclarationStatement
public org.eclipse.emf.common.notify.NotificationChain basicSetVariableDeclarationStatement(VariableDeclarationStatement newVariableDeclarationStatement, org.eclipse.emf.common.notify.NotificationChain msgs) -
setVariableDeclarationStatement
public void setVariableDeclarationStatement(VariableDeclarationStatement newVariableDeclarationStatement)- Specified by:
setVariableDeclarationStatementin interfaceModifier- Parameters:
newVariableDeclarationStatement- the new value of the 'Variable Declaration Statement' container reference.- See Also:
Modifier.getVariableDeclarationStatement()
-
getVariableDeclarationExpression
- Specified by:
getVariableDeclarationExpressionin interfaceModifier- Returns:
- the value of the 'Variable Declaration Expression' container reference.
- See Also:
Modifier.setVariableDeclarationExpression(VariableDeclarationExpression),JavaPackage.getModifier_VariableDeclarationExpression(),VariableDeclarationExpression.getModifier()
-
basicGetVariableDeclarationExpression
-
basicSetVariableDeclarationExpression
public org.eclipse.emf.common.notify.NotificationChain basicSetVariableDeclarationExpression(VariableDeclarationExpression newVariableDeclarationExpression, org.eclipse.emf.common.notify.NotificationChain msgs) -
setVariableDeclarationExpression
public void setVariableDeclarationExpression(VariableDeclarationExpression newVariableDeclarationExpression)- Specified by:
setVariableDeclarationExpressionin interfaceModifier- Parameters:
newVariableDeclarationExpression- the new value of the 'Variable Declaration Expression' container reference.- See Also:
Modifier.getVariableDeclarationExpression()
-
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 classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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 classASTNodeImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eBasicRemoveFromContainerFeaturein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classASTNodeImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classASTNodeImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classASTNodeImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classASTNodeImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-