public class JAssertStatement extends JStatement
Constructor and Description |
---|
JAssertStatement(SourceInfo info,
JExpression testExpr,
JExpression arg) |
Modifier and Type | Method and Description |
---|---|
JExpression |
getArg() |
JExpression |
getTestExpr() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toString
public JAssertStatement(SourceInfo info, JExpression testExpr, JExpression arg)
public JExpression getArg()
public JExpression getTestExpr()
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.