| Modifier and Type | Field and Description |
|---|---|
static TokenRole |
CATCH_KEYWORD_ROLE |
AST_NODE_USED_FLAGS, flags, NULLCHILD_ITERATOR| Constructor and Description |
|---|
CatchClause() |
CatchClause(BlockStatement body) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
static CatchClause |
forPattern(Pattern pattern) |
BlockStatement |
getBody() |
JavaTokenNode |
getCatchToken() |
AstNodeCollection<AstType> |
getExceptionTypes() |
JavaTokenNode |
getLeftParenthesisToken() |
NodeType |
getNodeType() |
JavaTokenNode |
getRightParenthesisToken() |
java.lang.String |
getVariableName() |
Identifier |
getVariableNameToken() |
boolean |
matches(INode other,
Match match) |
void |
setBody(BlockStatement value) |
void |
setVariableName(java.lang.String value) |
void |
setVariableNameToken(Identifier value) |
addChild, clone, contains, contains, copyUserDataFrom, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final TokenRole CATCH_KEYWORD_ROLE
public CatchClause()
public CatchClause(BlockStatement body)
public final JavaTokenNode getCatchToken()
public final JavaTokenNode getLeftParenthesisToken()
public final JavaTokenNode getRightParenthesisToken()
public final AstNodeCollection<AstType> getExceptionTypes()
public final java.lang.String getVariableName()
public final void setVariableName(java.lang.String value)
public final Identifier getVariableNameToken()
public final void setVariableNameToken(Identifier value)
public final BlockStatement getBody()
public final void setBody(BlockStatement value)
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic NodeType getNodeType()
getNodeType in class AstNodepublic static CatchClause forPattern(Pattern pattern)