public class JStringLiteral extends JValueLiteral
Constructor and Description |
---|
JStringLiteral(SourceInfo sourceInfo,
String value,
JClassType stringType) |
Modifier and Type | Method and Description |
---|---|
JReferenceType |
getType()
Returns the type of this expression.
|
String |
getValue() |
Object |
getValueObj() |
void |
resolve(JClassType stringType)
Resolve an external references during AST stitching.
|
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 JStringLiteral(SourceInfo sourceInfo, String value, JClassType stringType)
public JReferenceType getType()
HasType
public String getValue()
public Object getValueObj()
getValueObj
in class JValueLiteral
public void resolve(JClassType stringType)
Copyright © 2018. All rights reserved.