public final class AssignNewStatement extends AssignCallStatement
lval
args, method
Modifier and Type | Method and Description |
---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
static AssignNewStatement |
construct(LeftValue lval,
Name type,
ValueExpression[] args)
Construct a call statement with a result value assigned to a variable.
|
static AssignNewStatement |
construct(LeftValue lval,
Name type,
java.util.Vector<ValueExpression> args)
Construct a call statement with a result value assigned to a variable.
|
accept, acceptChildren
getKind, getMethodSymbol, setMethodSymbol
getAnnotation, getJudgement, setAnnotation, setJudgement
getPosition, setPosition
accept, accept, print, printCore, toString, toStringCore
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPosition, setPosition
print, printCore, toString, toStringCore
public static AssignNewStatement construct(LeftValue lval, Name type, java.util.Vector<ValueExpression> args)
lval
- the left value taking the result (may be null)type
- the type nameargs
- the type argumentspublic static AssignNewStatement construct(LeftValue lval, Name type, ValueExpression[] args)
lval
- the left value taking the result (may be null)type
- the type nameargs
- the type argumentspublic void accept(ASTVisitor visitor)
accept
in interface AST
accept
in class AssignCallStatement
visitor
- the visitor who is accepted by this node.