public class JRuntimeTypeReference extends JExpression
Constructor and Description |
---|
JRuntimeTypeReference(SourceInfo info,
JType expressionType,
JReferenceType typeReference) |
Modifier and Type | Method and Description |
---|---|
JReferenceType |
getReferredType()
Returns the type this node is proxy for.
|
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.
|
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JRuntimeTypeReference(SourceInfo info, JType expressionType, JReferenceType typeReference)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalpublic boolean hasSideEffects()
hasSideEffects
in class JExpression
public JType getType()
HasType
public JReferenceType getReferredType()
Copyright © 2018. All rights reserved.