net.sourceforge.pmd.ast
Class ASTTryStatement
java.lang.Object
|
+--net.sourceforge.pmd.ast.SimpleNode
|
+--net.sourceforge.pmd.ast.ASTTryStatement
- All Implemented Interfaces:
- Node
- public class ASTTryStatement
- extends SimpleNode
Methods inherited from class net.sourceforge.pmd.ast.SimpleNode |
childrenAccept, dump, dumpChildren, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getImage, getScope, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTTryStatement
public ASTTryStatement(int id)
ASTTryStatement
public ASTTryStatement(JavaParser p,
int id)
setHasCatch
public void setHasCatch()
setHasFinally
public void setHasFinally()
hasCatch
public boolean hasCatch()
hasFinally
public boolean hasFinally()
getFinallyBlock
public ASTBlock getFinallyBlock()
- Call hasFinally() before you call this method
getCatchBlocks
public java.util.List getCatchBlocks()
- Call hasCatch() before you call this method
jjtAccept
public java.lang.Object jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
Copyright © 2002-2003 Project Ultra*Log @ DARPA. All Rights Reserved.