ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
TryStmt() |
TryStmt(BlockStmt tryBlock,
List<CatchClause> catchs,
BlockStmt finallyBlock) |
TryStmt(Range range,
List<VariableDeclarationExpr> resources,
BlockStmt tryBlock,
List<CatchClause> catchs,
BlockStmt finallyBlock) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
List<CatchClause> |
getCatchs() |
BlockStmt |
getFinallyBlock() |
List<VariableDeclarationExpr> |
getResources() |
BlockStmt |
getTryBlock() |
TryStmt |
setCatchs(List<CatchClause> catchs) |
TryStmt |
setFinallyBlock(BlockStmt finallyBlock) |
TryStmt |
setResources(List<VariableDeclarationExpr> resources) |
TryStmt |
setTryBlock(BlockStmt tryBlock) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public TryStmt()
public TryStmt(BlockStmt tryBlock, List<CatchClause> catchs, BlockStmt finallyBlock)
public TryStmt(Range range, List<VariableDeclarationExpr> resources, BlockStmt tryBlock, List<CatchClause> catchs, BlockStmt finallyBlock)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<CatchClause> getCatchs()
public BlockStmt getFinallyBlock()
public BlockStmt getTryBlock()
public List<VariableDeclarationExpr> getResources()
public TryStmt setCatchs(List<CatchClause> catchs)
public TryStmt setResources(List<VariableDeclarationExpr> resources)
Copyright © 2007–2016. All rights reserved.