Class TryBlockImpl
- 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.statements.impl.StatementImpl
-
- org.emftext.language.java.statements.impl.TryBlockImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Commentable
,BlockContainer
,Statement
,StatementListContainer
,TryBlock
public class TryBlockImpl extends StatementImpl implements TryBlock
An implementation of the model object 'Try Block'.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
Fields Modifier and Type Field Description protected Block
block
The cached value of the 'Block
' containment reference.protected EList<CatchBlock>
catchBlocks
The cached value of the 'Catch Blocks
' containment reference list.protected Block
finallyBlock
The cached value of the 'Finally Block
' containment reference.protected EList<Resource>
resources
The cached value of the 'Resources
' containment reference list.-
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
Constructors Modifier Constructor Description protected
TryBlockImpl()
-
Method Summary
-
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, toString
-
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.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
block
protected Block block
The cached value of the 'Block
' containment reference.- See Also:
getBlock()
- Generated class or method.
- Ordered collection.
-
resources
protected EList<Resource> resources
The cached value of the 'Resources
' containment reference list.- See Also:
getResources()
- Generated class or method.
- Ordered collection.
-
catchBlocks
protected EList<CatchBlock> catchBlocks
The cached value of the 'Catch Blocks
' containment reference list.- See Also:
getCatchBlocks()
- Generated class or method.
- Ordered collection.
-
finallyBlock
protected Block finallyBlock
The cached value of the 'Finally Block
' containment reference.- See Also:
getFinallyBlock()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classStatementImpl
- Generated class or method.
-
getBlock
public Block getBlock()
- Specified by:
getBlock
in interfaceBlockContainer
- Returns:
- the value of the 'Block' containment reference.
- See Also:
BlockContainer.setBlock(Block)
,StatementsPackage.getBlockContainer_Block()
- Generated class or method.
-
basicGetBlock
public Block basicGetBlock()
- Generated class or method.
-
basicSetBlock
public NotificationChain basicSetBlock(Block newBlock, NotificationChain msgs)
- Generated class or method.
-
setBlock
public void setBlock(Block newBlock)
- Specified by:
setBlock
in interfaceBlockContainer
- Parameters:
newBlock
- the new value of the 'Block' containment reference.- See Also:
BlockContainer.getBlock()
- Generated class or method.
-
getResources
public EList<Resource> getResources()
- Specified by:
getResources
in interfaceTryBlock
- Returns:
- the value of the 'Resources' containment reference list.
- See Also:
StatementsPackage.getTryBlock_Resources()
- Generated class or method.
-
getCatchBlocks
public EList<CatchBlock> getCatchBlocks()
- Specified by:
getCatchBlocks
in interfaceTryBlock
- Returns:
- the value of the 'Catch Blocks' containment reference list.
- See Also:
StatementsPackage.getTryBlock_CatchBlocks()
- Generated class or method.
-
getFinallyBlock
public Block getFinallyBlock()
- Specified by:
getFinallyBlock
in interfaceTryBlock
- Returns:
- the value of the 'Finally Block' containment reference.
- See Also:
TryBlock.setFinallyBlock(Block)
,StatementsPackage.getTryBlock_FinallyBlock()
- Generated class or method.
-
basicGetFinallyBlock
public Block basicGetFinallyBlock()
- Generated class or method.
-
basicSetFinallyBlock
public NotificationChain basicSetFinallyBlock(Block newFinallyBlock, NotificationChain msgs)
- Generated class or method.
-
setFinallyBlock
public void setFinallyBlock(Block newFinallyBlock)
- Specified by:
setFinallyBlock
in interfaceTryBlock
- Parameters:
newFinallyBlock
- the new value of the 'Finally Block' containment reference.- See Also:
TryBlock.getFinallyBlock()
- Generated class or method.
-
getCatcheBlocks
public EList<CatchBlock> getCatcheBlocks()
- Specified by:
getCatcheBlocks
in interfaceTryBlock
- Generated class or method.
-
getStatements
public EList<Statement> getStatements()
- Specified by:
getStatements
in interfaceStatementListContainer
- Specified by:
getStatements
in interfaceTryBlock
- Generated class or method.
-
getLocalVariable
public LocalVariable getLocalVariable(String name)
- Specified by:
getLocalVariable
in interfaceStatementListContainer
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classCommentableImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classCommentableImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classCommentableImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classCommentableImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classCommentableImpl
- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classBasicEObjectImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classBasicEObjectImpl
- Generated class or method.
-
-