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() |
void |
setCatchs(List<CatchClause> catchs) |
void |
setFinallyBlock(BlockStmt finallyBlock) |
void |
setResources(List<VariableDeclarationExpr> resources) |
void |
setTryBlock(BlockStmt tryBlock) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getChildrenNodes, getComment, getData, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setData, setEnd, setLineComment, setParentNode, setRange, 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 void setCatchs(List<CatchClause> catchs)
public void setFinallyBlock(BlockStmt finallyBlock)
public void setTryBlock(BlockStmt tryBlock)
public void setResources(List<VariableDeclarationExpr> resources)
Copyright © 2007–2016. All rights reserved.