Interface TryBlock
- All Superinterfaces:
BlockContainer
,Commentable
,EObject
,Notifier
,Statement
,StatementListContainer
- All Known Implementing Classes:
TryBlockImpl
A representation of the model object 'Try Block'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Catch Blocks' containment reference list.Returns the value of the 'Finally Block' containment reference.Returns the value of the 'Resources' containment reference list.void
setFinallyBlock
(Block value) Sets the value of the 'Finally Block
' containment reference.Methods inherited from interface org.emftext.language.java.statements.BlockContainer
getBlock, setBlock
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.emftext.language.java.statements.StatementListContainer
getLocalVariable
-
Method Details
-
getResources
Returns the value of the 'Resources' containment reference list. The list contents are of typeResource
.- Returns:
- the value of the 'Resources' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getCatchBlocks
EList<CatchBlock> getCatchBlocks()Returns the value of the 'Catch Blocks' containment reference list. The list contents are of typeCatchBlock
.- Returns:
- the value of the 'Catch Blocks' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getFinallyBlock
Block getFinallyBlock()Returns the value of the 'Finally Block' containment reference.- Returns:
- the value of the 'Finally Block' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
setFinallyBlock
Sets the value of the 'Finally Block
' containment reference.- Parameters:
value
- the new value of the 'Finally Block' containment reference.- See Also:
- Generated class or method.
-
getCatcheBlocks
EList<CatchBlock> getCatcheBlocks()- Generated class or method.
- EMF model class or method.
- kind="operation" required="true" many="false"
-
getStatements
- Specified by:
getStatements
in interfaceStatementListContainer
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true" many="false"
-