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.
|
hasSideEffects
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JClassLiteral(SourceInfo sourceInfo, JType type)
public JField getField()
public JType getRefType()
public JType getType()
HasType
public void resolve(JType newType)
public void setField(JField field)
field
- the field to setCopyright © 2018. All rights reserved.