public class JsonArray extends JExpression
Constructor and Description |
---|
JsonArray(SourceInfo sourceInfo,
JType arrayType,
JExpression... expressions) |
JsonArray(SourceInfo sourceInfo,
JType arrayType,
List<JExpression> expressions) |
Modifier and Type | Method and Description |
---|---|
List<JExpression> |
getExpressions() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(JType arrayType)
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.
|
makeReturnStatement, makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JsonArray(SourceInfo sourceInfo, JType arrayType, List<JExpression> expressions)
public JsonArray(SourceInfo sourceInfo, JType arrayType, JExpression... expressions)
public List<JExpression> getExpressions()
public JType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void resolve(JType arrayType)
Copyright © 2018. All rights reserved.