
public class JCastMap extends JExpression
| Constructor and Description |
|---|
JCastMap(SourceInfo sourceInfo,
JClassType javaLangObjectType,
Collection<JReferenceType> canCastToTypes) |
| Modifier and Type | Method and Description |
|---|---|
List<JExpression> |
getCanCastToTypes() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JCastMap(SourceInfo sourceInfo, JClassType javaLangObjectType, Collection<JReferenceType> canCastToTypes)
public boolean hasSideEffects()
hasSideEffects in class JExpressionpublic JType getType()
HasTypepublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalpublic List<JExpression> getCanCastToTypes()
Copyright © 2018. All rights reserved.