public final class DeclNewStatement extends DeclCallStatement
name, typeargs, method| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
static DeclNewStatement |
construct(TypeExpression type,
Identifier var,
Name method,
ValueExpression[] args)
Construct a call statement with a result value assigned to a variable.
|
static DeclNewStatement |
construct(TypeExpression type,
Identifier var,
Name method,
java.util.Vector<ValueExpression> args)
Construct a call statement with a result value assigned to a variable.
|
accept, acceptChildren, getName, getTypegetKind, getMethodSymbol, setMethodSymbolgetAnnotation, getJudgement, setAnnotation, setJudgementgetPosition, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPosition, setPositionprint, printCore, toString, toStringCorepublic static DeclNewStatement construct(TypeExpression type, Identifier var, Name method, java.util.Vector<ValueExpression> args)
type - the type of the variablevar - the name of the variablemethod - the method nameargs - the method argumentspublic static DeclNewStatement construct(TypeExpression type, Identifier var, Name method, ValueExpression[] args)
type - the type of the variablevar - the name of the variablemethod - the method nameargs - the method argumentspublic void accept(ASTVisitor visitor)
accept in interface ASTaccept in class DeclCallStatementvisitor - the visitor who is accepted by this node.