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.
|
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JInstanceOf(SourceInfo info, JReferenceType testType, JExpression expression)
public JExpression getExpr()
public JReferenceType getTestType()
public JType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void resolve(JReferenceType newType)
Copyright © 2018. All rights reserved.