
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.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JCastOperation(SourceInfo info, JType castType, JExpression expr)
public JType getCastType()
public JExpression getExpr()
public JType getType()
HasTypepublic boolean hasSideEffects()
hasSideEffects in class JExpressionpublic void resolve(JType 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.