public class JCastOperation extends JExpression
Constructor and Description |
---|
JCastOperation(SourceInfo info,
JType castType,
JExpression expr) |
Modifier and Type | Method and Description |
---|---|
JType |
getCastType() |
JExpression |
getExpr() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(JType 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 JCastOperation(SourceInfo info, JType castType, JExpression expr)
public JType getCastType()
public JExpression getExpr()
public JType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void resolve(JType newType)
Copyright © 2018. All rights reserved.