public class ASTThrowStatement extends AbstractJavaNode
parserbeginColumn, beginLine, children, endColumn, endLine, id, parent| Constructor and Description |
|---|
ASTThrowStatement(int id) |
ASTThrowStatement(JavaParser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFirstClassOrInterfaceTypeImage()
Gets the image of the first ASTClassOrInterfaceType child or
null if none is found. |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
childrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toStringappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setUserDatapublic ASTThrowStatement(int id)
public ASTThrowStatement(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic final String getFirstClassOrInterfaceTypeImage()
null if none is found.
Note that when the statement is something like throw new Exception, this method
returns 'Exception' and if the throw statement is like throw e: this method returns 'e'.
A special case of returning null is when the throws is like throw this.e or
throw this.
TODO - use symbol table (?)nullCopyright © 2002-2014 InfoEther. All Rights Reserved.