public final class CatchClause extends Node
| Constructor and Description |
|---|
CatchClause() |
CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock) |
CatchClause(MultiTypeParameter except,
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.
|
CatchClause |
clone() |
BlockStmt |
getCatchBlock() |
List<Node> |
getChildren() |
MultiTypeParameter |
getExcept() |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setCatchBlock(BlockStmt catchBlock) |
void |
setExcept(MultiTypeParameter except) |
check, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic CatchClause()
public CatchClause(MultiTypeParameter except, BlockStmt catchBlock)
public CatchClause(int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock)
public CatchClause(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int exceptModifier,
List<AnnotationExpr> exceptAnnotations,
List<Type> exceptTypes,
VariableDeclaratorId exceptId,
BlockStmt catchBlock)
public boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Nodepublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic BlockStmt getCatchBlock()
public MultiTypeParameter getExcept()
public void setCatchBlock(BlockStmt catchBlock)
public void setExcept(MultiTypeParameter except)
public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic CatchClause clone() throws CloneNotSupportedException
clone in class NodeCloneNotSupportedExceptionCopyright © 2018. All rights reserved.