
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.
|
hasSideEffectsmakeReturnStatement, makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JStringLiteral(SourceInfo sourceInfo, String value, JClassType stringType)
public JReferenceType getType()
HasTypepublic String getValue()
public Object getValueObj()
getValueObj in class JValueLiteralpublic void resolve(JClassType stringType)
Copyright © 2018. All rights reserved.