
public class JClassLiteral extends JLiteral
| Constructor and Description |
|---|
JClassLiteral(SourceInfo sourceInfo,
JType type) |
| Modifier and Type | Method and Description |
|---|---|
JField |
getField()
Returns the field holding my allocated object.
|
JType |
getRefType() |
JType |
getType()
Returns the type of this expression.
|
void |
resolve(JType newType)
Resolve an external reference during AST stitching.
|
void |
setField(JField field) |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffectsmakeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JClassLiteral(SourceInfo sourceInfo, JType type)
public JField getField()
public JType getRefType()
public JType getType()
HasTypepublic void resolve(JType newType)
public void setField(JField field)
field - the field to setpublic void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.