public class JGwtCreate extends JExpression
Constructor and Description |
---|
JGwtCreate(SourceInfo info,
String sourceType,
List<String> resultTypes,
JType type,
ArrayList<JExpression> instantiationExpressions)
Constructor used for cloning an existing node.
|
Modifier and Type | Method and Description |
---|---|
static JExpression |
createInstantiationExpression(SourceInfo info,
JClassType classType,
JDeclaredType enclosingType) |
ArrayList<JExpression> |
getInstantiationExpressions() |
List<String> |
getResultTypes() |
String |
getSourceType() |
JType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
setType(JType newType) |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JGwtCreate(SourceInfo info, String sourceType, List<String> resultTypes, JType type, ArrayList<JExpression> instantiationExpressions)
public static JExpression createInstantiationExpression(SourceInfo info, JClassType classType, JDeclaredType enclosingType)
public ArrayList<JExpression> getInstantiationExpressions()
public String getSourceType()
public JType getType()
HasType
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void setType(JType newType)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.