ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
CatchClause() |
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
Type exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock)
Deprecated.
prefer using Range objects.
|
CatchClause(Parameter param,
BlockStmt catchBlock) |
CatchClause(Range range,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
Type exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
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.
|
BlockStmt |
getCatchBlock() |
Parameter |
getParam() |
void |
setCatchBlock(BlockStmt catchBlock) |
void |
setParam(Parameter param) |
addOrphanComment, clone, contains, equals, getAllContainedComments, getBegin, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEnd, getEndColumn, getEndLine, getOrphanComments, getParentNode, getRange, hasComment, hashCode, isPositionedAfter, isPositionedAfter, isPositionedBefore, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBeginColumn, setBeginLine, setComment, setData, setEnd, setEndColumn, setEndLine, setParentNode, setRange, toString, toStringWithoutComments
public CatchClause()
@Deprecated public CatchClause(int beginLine, int beginColumn, int endLine, int endColumn, int exceptModifier, List<AnnotationExpr> exceptAnnotations, Type exceptTypes, VariableDeclaratorId exceptId, BlockStmt catchBlock)
public CatchClause(Range range, int exceptModifier, List<AnnotationExpr> exceptAnnotations, Type exceptTypes, VariableDeclaratorId exceptId, BlockStmt catchBlock)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public BlockStmt getCatchBlock()
public Parameter getParam()
public void setCatchBlock(BlockStmt catchBlock)
public void setParam(Parameter param)
Copyright © 2007–2016. All rights reserved.