public class Throw extends ExpressionJumpStatement
expression| Constructor and Description | 
|---|
Throw()
Throw. 
 | 
Throw(Expression expr)
Throw. 
 | 
Throw(ExtList children)
Throw. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
prettyPrint(PrettyPrinter p)
Pretty printing the source element. 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
getChildAt, getChildCount, getExpression, getExpressionAt, getExpressionCountcompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, match, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetComments, matchequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPositionpublic Throw()
public Throw(Expression expr)
expr - an expression.public Throw(ExtList children)
children - an ExtList with all childrenpublic void visit(Visitor v)
v - the Visitorpublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class JavaProgramElementp - a pretty printer.java.io.IOException - occasionally thrown.