
public class JInstanceOf extends JExpression
| Constructor and Description |
|---|
JInstanceOf(SourceInfo info,
JReferenceType testType,
JExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
JExpression |
getExpr() |
JReferenceType |
getTestType() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(JReferenceType newType)
Resolve an external reference during AST stitching.
|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JInstanceOf(SourceInfo info, JReferenceType testType, JExpression expression)
public JExpression getExpr()
public JReferenceType getTestType()
public JType getType()
HasTypepublic boolean hasSideEffects()
hasSideEffects in class JExpressionpublic void resolve(JReferenceType newType)
public void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.