Class LocalVariableImpl
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.variables.impl.VariableImpl
org.emftext.language.java.variables.impl.LocalVariableImpl
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Commentable
,NamedElement
,TypeArgumentable
,Initializable
,AnnotableAndModifiable
,ReferenceableElement
,ForLoopInitializer
,TypedElement
,LocalVariable
,Resource
,Variable
An implementation of the model object 'Local Variable'.
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.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionprotected EList<AdditionalLocalVariable>
The cached value of the 'Additional Local Variables
' containment reference list.protected EList<AnnotationInstanceOrModifier>
The cached value of the 'Annotations And Modifiers
' containment reference list.protected Expression
The cached value of the 'Initial Value
' containment reference.Fields inherited from class org.emftext.language.java.variables.impl.VariableImpl
typeArguments, typeReference
Fields inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
name, NAME_EDEFAULT
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addModifier
(Modifier newModifier) basicSetInitialValue
(Expression newInitialValue, NotificationChain msgs) int
eBaseStructuralFeatureID
(int derivedFeatureID, Class<?> baseClass) int
eDerivedStructuralFeatureID
(int baseFeatureID, Class<?> baseClass) eGet
(int featureID, boolean resolve, boolean coreType) eInverseRemove
(InternalEObject otherEnd, int featureID, NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected EClass
void
eUnset
(int featureID) boolean
hasModifier
(Class<?> type) boolean
isHidden
(Commentable context) boolean
boolean
boolean
isPublic()
boolean
isStatic()
void
void
void
void
void
removeModifier
(Class<?> modifierType) void
setInitialValue
(Expression newInitialValue) Methods inherited from class org.emftext.language.java.variables.impl.VariableImpl
basicGetTypeReference, basicSetTypeReference, createMethodCall, createMethodCallStatement, getTypeArguments, getTypeReference, setTypeReference
Methods inherited from class org.emftext.language.java.commons.impl.NamedElementImpl
getName, setName, toString
Methods 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, getStringClass
Methods 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, eSettings
Methods 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, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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, getStringClass
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.emftext.language.java.generics.TypeArgumentable
getTypeArguments
Methods inherited from interface org.emftext.language.java.types.TypedElement
getTypeReference, setTypeReference
Methods inherited from interface org.emftext.language.java.variables.Variable
createMethodCall, createMethodCallStatement
-
Field Details
-
initialValue
The cached value of the 'Initial Value
' containment reference.- 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.
-
additionalLocalVariables
The cached value of the 'Additional Local Variables
' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
LocalVariableImpl
protected LocalVariableImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classVariableImpl
- Generated class or method.
-
getInitialValue
- Specified by:
getInitialValue
in interfaceInitializable
- Returns:
- the value of the 'Initial Value' containment reference.
- See Also:
- Generated class or method.
-
basicGetInitialValue
- Generated class or method.
-
basicSetInitialValue
- Generated class or method.
-
setInitialValue
- Specified by:
setInitialValue
in interfaceInitializable
- Parameters:
newInitialValue
- the new value of the 'Initial Value' containment reference.- See Also:
- Generated class or method.
-
getAnnotationsAndModifiers
- Specified by:
getAnnotationsAndModifiers
in interfaceAnnotableAndModifiable
- Returns:
- the value of the 'Annotations And Modifiers' containment reference list.
- See Also:
- Generated class or method.
-
getAdditionalLocalVariables
- Specified by:
getAdditionalLocalVariables
in interfaceLocalVariable
- Returns:
- the value of the 'Additional Local Variables' containment reference list.
- See Also:
- Generated class or method.
-
isHidden
- Specified by:
isHidden
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isStatic
public boolean isStatic()- Specified by:
isStatic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
removeModifier
- Specified by:
removeModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makePublic
public void makePublic()- Specified by:
makePublic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makePrivate
public void makePrivate()- Specified by:
makePrivate
in interfaceAnnotableAndModifiable
- Generated class or method.
-
makeProtected
public void makeProtected()- Specified by:
makeProtected
in interfaceAnnotableAndModifiable
- Generated class or method.
-
getModifiers
- Specified by:
getModifiers
in interfaceAnnotableAndModifiable
- Generated class or method.
-
removeAllModifiers
public void removeAllModifiers()- Specified by:
removeAllModifiers
in interfaceAnnotableAndModifiable
- Generated class or method.
-
hasModifier
- Specified by:
hasModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isPublic
public boolean isPublic()- Specified by:
isPublic
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isPrivate
public boolean isPrivate()- Specified by:
isPrivate
in interfaceAnnotableAndModifiable
- Generated class or method.
-
isProtected
public boolean isProtected()- Specified by:
isProtected
in interfaceAnnotableAndModifiable
- Generated class or method.
-
addModifier
- Specified by:
addModifier
in interfaceAnnotableAndModifiable
- Generated class or method.
-
getAnnotationInstances
- Specified by:
getAnnotationInstances
in interfaceAnnotableAndModifiable
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemove
in classVariableImpl
- Generated class or method.
-
eGet
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classVariableImpl
- Generated class or method.
-
eSet
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classVariableImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classVariableImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classVariableImpl
- Generated class or method.
-
eBaseStructuralFeatureID
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classVariableImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classVariableImpl
- Generated class or method.
-