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