Class SingleVariableDeclarationImpl
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.VariableDeclarationImpl
org.eclipse.gmt.modisco.java.emf.impl.SingleVariableDeclarationImpl
- 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,NamedElement,SingleVariableDeclaration,VariableDeclaration
- Direct Known Subclasses:
UnresolvedSingleVariableDeclarationImpl
public class SingleVariableDeclarationImpl extends VariableDeclarationImpl implements SingleVariableDeclaration
An implementation of the model object 'Single Variable 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 org.eclipse.emf.common.util.EList<Annotation>annotationsThe cached value of the 'Annotations' containment reference list.protected ModifiermodifierThe cached value of the 'Modifier' containment reference.protected TypeAccesstypeThe cached value of the 'Type' containment reference.protected booleanvarargsThe cached value of the 'Varargs' attribute.protected static booleanVARARGS_EDEFAULTThe default value of the 'Varargs' attribute.Fields inherited from class org.eclipse.gmt.modisco.java.emf.impl.VariableDeclarationImpl
EXTRA_ARRAY_DIMENSIONS_EDEFAULT, extraArrayDimensions, initializer, usageInVariableAccessFields 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 protectedSingleVariableDeclarationImpl() -
Method Summary
Modifier and Type Method Description CatchClausebasicGetCatchClause()EnhancedForStatementbasicGetEnhancedForStatement()AbstractMethodDeclarationbasicGetMethodDeclaration()org.eclipse.emf.common.notify.NotificationChainbasicSetCatchClause(CatchClause newCatchClause, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetEnhancedForStatement(EnhancedForStatement newEnhancedForStatement, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetMethodDeclaration(AbstractMethodDeclaration newMethodDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetModifier(Modifier newModifier, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetType(TypeAccess newType, 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)org.eclipse.emf.common.util.EList<Annotation>getAnnotations()CatchClausegetCatchClause()EnhancedForStatementgetEnhancedForStatement()AbstractMethodDeclarationgetMethodDeclaration()ModifiergetModifier()TypeAccessgetType()booleanisVarargs()voidsetCatchClause(CatchClause newCatchClause)voidsetEnhancedForStatement(EnhancedForStatement newEnhancedForStatement)voidsetMethodDeclaration(AbstractMethodDeclaration newMethodDeclaration)voidsetModifier(Modifier newModifier)voidsetType(TypeAccess newType)voidsetVarargs(boolean newVarargs)StringtoString()Methods inherited from class org.eclipse.gmt.modisco.java.emf.impl.VariableDeclarationImpl
basicSetInitializer, getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializerMethods 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.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.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.gmt.modisco.java.VariableDeclaration
getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializer
-
Field Details
-
modifier
The cached value of the 'Modifier' containment reference.- See Also:
getModifier()
-
VARARGS_EDEFAULT
protected static final boolean VARARGS_EDEFAULTThe default value of the 'Varargs' attribute.- See Also:
isVarargs(), Constant Field Values
-
varargs
protected boolean varargsThe cached value of the 'Varargs' attribute.- See Also:
isVarargs()
-
type
The cached value of the 'Type' containment reference.- See Also:
getType()
-
annotations
The cached value of the 'Annotations' containment reference list.- See Also:
getAnnotations()
-
-
Constructor Details
-
SingleVariableDeclarationImpl
protected SingleVariableDeclarationImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classVariableDeclarationImpl
-
getModifier
- Specified by:
getModifierin interfaceSingleVariableDeclaration- Returns:
- the value of the 'Modifier' containment reference.
- See Also:
SingleVariableDeclaration.setModifier(Modifier),JavaPackage.getSingleVariableDeclaration_Modifier(),Modifier.getSingleVariableDeclaration()
-
basicSetModifier
public org.eclipse.emf.common.notify.NotificationChain basicSetModifier(Modifier newModifier, org.eclipse.emf.common.notify.NotificationChain msgs) -
setModifier
- Specified by:
setModifierin interfaceSingleVariableDeclaration- Parameters:
newModifier- the new value of the 'Modifier' containment reference.- See Also:
SingleVariableDeclaration.getModifier()
-
isVarargs
public boolean isVarargs()- Specified by:
isVarargsin interfaceSingleVariableDeclaration- Returns:
- the value of the 'Varargs' attribute.
- See Also:
SingleVariableDeclaration.setVarargs(boolean),JavaPackage.getSingleVariableDeclaration_Varargs()
-
setVarargs
public void setVarargs(boolean newVarargs)- Specified by:
setVarargsin interfaceSingleVariableDeclaration- Parameters:
newVarargs- the new value of the 'Varargs' attribute.- See Also:
SingleVariableDeclaration.isVarargs()
-
getType
- Specified by:
getTypein interfaceSingleVariableDeclaration- Returns:
- the value of the 'Type' containment reference.
- See Also:
SingleVariableDeclaration.setType(TypeAccess),JavaPackage.getSingleVariableDeclaration_Type()
-
basicSetType
public org.eclipse.emf.common.notify.NotificationChain basicSetType(TypeAccess newType, org.eclipse.emf.common.notify.NotificationChain msgs) -
setType
- Specified by:
setTypein interfaceSingleVariableDeclaration- Parameters:
newType- the new value of the 'Type' containment reference.- See Also:
SingleVariableDeclaration.getType()
-
getAnnotations
- Specified by:
getAnnotationsin interfaceSingleVariableDeclaration- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
JavaPackage.getSingleVariableDeclaration_Annotations()
-
getMethodDeclaration
- Specified by:
getMethodDeclarationin interfaceSingleVariableDeclaration- Returns:
- the value of the 'Method Declaration' container reference.
- See Also:
SingleVariableDeclaration.setMethodDeclaration(AbstractMethodDeclaration),JavaPackage.getSingleVariableDeclaration_MethodDeclaration(),AbstractMethodDeclaration.getParameters()
-
basicGetMethodDeclaration
-
basicSetMethodDeclaration
public org.eclipse.emf.common.notify.NotificationChain basicSetMethodDeclaration(AbstractMethodDeclaration newMethodDeclaration, org.eclipse.emf.common.notify.NotificationChain msgs) -
setMethodDeclaration
- Specified by:
setMethodDeclarationin interfaceSingleVariableDeclaration- Parameters:
newMethodDeclaration- the new value of the 'Method Declaration' container reference.- See Also:
SingleVariableDeclaration.getMethodDeclaration()
-
getCatchClause
- Specified by:
getCatchClausein interfaceSingleVariableDeclaration- Returns:
- the value of the 'Catch Clause' container reference.
- See Also:
SingleVariableDeclaration.setCatchClause(CatchClause),JavaPackage.getSingleVariableDeclaration_CatchClause(),CatchClause.getException()
-
basicGetCatchClause
-
basicSetCatchClause
public org.eclipse.emf.common.notify.NotificationChain basicSetCatchClause(CatchClause newCatchClause, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCatchClause
- Specified by:
setCatchClausein interfaceSingleVariableDeclaration- Parameters:
newCatchClause- the new value of the 'Catch Clause' container reference.- See Also:
SingleVariableDeclaration.getCatchClause()
-
getEnhancedForStatement
- Specified by:
getEnhancedForStatementin interfaceSingleVariableDeclaration- Returns:
- the value of the 'Enhanced For Statement' container reference.
- See Also:
SingleVariableDeclaration.setEnhancedForStatement(EnhancedForStatement),JavaPackage.getSingleVariableDeclaration_EnhancedForStatement(),EnhancedForStatement.getParameter()
-
basicGetEnhancedForStatement
-
basicSetEnhancedForStatement
public org.eclipse.emf.common.notify.NotificationChain basicSetEnhancedForStatement(EnhancedForStatement newEnhancedForStatement, org.eclipse.emf.common.notify.NotificationChain msgs) -
setEnhancedForStatement
- Specified by:
setEnhancedForStatementin interfaceSingleVariableDeclaration- Parameters:
newEnhancedForStatement- the new value of the 'Enhanced For Statement' container reference.- See Also:
SingleVariableDeclaration.getEnhancedForStatement()
-
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 classVariableDeclarationImpl
-
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 classVariableDeclarationImpl
-
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 classVariableDeclarationImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classVariableDeclarationImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classVariableDeclarationImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classVariableDeclarationImpl
-
toString
- Overrides:
toStringin classVariableDeclarationImpl
-