
public class JNewInstance extends JMethodCall
| Constructor and Description |
|---|
JNewInstance(JNewInstance other)
Initialize a new instance operation equivalent to another one.
|
JNewInstance(SourceInfo info,
JConstructor ctor,
JDeclaredType enclosingType) |
| Modifier and Type | Method and Description |
|---|---|
JClassType |
getClassType() |
JDeclaredType |
getEnclosingType() |
JConstructor |
getTarget() |
JNonNullType |
getType()
Returns the type of this expression.
|
boolean |
hasClinit() |
boolean |
hasSideEffects() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
addArg, addArg, addArgs, addArgs, canBePolymorphic, getArgs, getInstance, isStaticDispatchOnly, isVolatile, removeArg, resolve, setArg, setCannotBePolymorphic, setStaticDispatchOnly, setVolatile, visitChildrenmakeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JNewInstance(JNewInstance other)
public JNewInstance(SourceInfo info, JConstructor ctor, JDeclaredType enclosingType)
public JClassType getClassType()
public JDeclaredType getEnclosingType()
public JConstructor getTarget()
getTarget in class JMethodCallpublic JNonNullType getType()
HasTypegetType in interface HasTypegetType in class JMethodCallpublic boolean hasClinit()
public boolean hasSideEffects()
hasSideEffects in class JMethodCallpublic void traverse(JVisitor visitor, Context ctx)
JVisitabletraverse in interface JVisitabletraverse in class JMethodCallvisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.