|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jeffpalm.javaparser.SimpleNode
com.jeffpalm.javaparser.ASTTryStatement
public class ASTTryStatement
Statement that catches exceptions
| Field Summary |
|---|
| Fields inherited from class com.jeffpalm.javaparser.SimpleNode |
|---|
children, id, parent, parser, specials |
| Constructor Summary | |
|---|---|
ASTTryStatement(int identifier)
Constructor for the ASTTryStatement node. |
|
ASTTryStatement(JavaParser parser,
int identifier)
Constructor for the ASTTryStatement node. |
|
| Method Summary | |
|---|---|
boolean |
hasCatch()
Does the try statement have a catch block. |
boolean |
hasFinally()
Does the try statement have a finally block. |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
setHasCatch()
This try statement has catch block. |
void |
setHasFinally()
This try statement has finally block. |
| Methods inherited from class com.jeffpalm.javaparser.SimpleNode |
|---|
addSpecial, childrenAccept, dump, dumpString, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getName, getScope, getSpecial, hasAnyChildren, init, isRequired, jjtAddChild, jjtAddFirstChild, jjtClose, jjtDeleteChild, jjtGetChild, jjtGetFirstChild, jjtGetID, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtSetParent, printModifiers, removeSpecial, setLineAndColumnInfo, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTTryStatement(int identifier)
identifier - The id of this node (JJTTRYSTATEMENT).
public ASTTryStatement(JavaParser parser,
int identifier)
parser - The JavaParser that created this ASTTryStatement node.identifier - The id of this node (JJTTRYSTATEMENT).| Method Detail |
|---|
public void setHasCatch()
catch block.
public void setHasFinally()
finally block.
public java.lang.Object jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodevisitor - An implementation of JavaParserVisitor that processes the ASTTryStatement node.data - Some data being passed between the visitor methods.
public boolean hasCatch()
catch block.
true if the try statement has a catch block.public boolean hasFinally()
finally block.
true if the try statement has a finally block.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||