|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A ConstructorCall represents a direct call to a constructor.
For instance, super(...) or this(...).
| Nested Class Summary | |
static class |
ConstructorCall.Kind
Constructor call kind: either "super" or "this". |
| Field Summary | |
static ConstructorCall.Kind |
SUPER
|
static ConstructorCall.Kind |
THIS
|
| Method Summary | |
java.util.List |
arguments()
Actual arguments. |
ProcedureCall |
arguments(java.util.List arguments)
Set the actual arguments. |
ConstructorInstance |
constructorInstance()
The constructor that is called. |
ConstructorCall |
constructorInstance(ConstructorInstance ci)
Set the constructor to call. |
ConstructorCall.Kind |
kind()
The kind of the call: THIS or SUPER. |
ConstructorCall |
kind(ConstructorCall.Kind kind)
Set the kind of the call: THIS or SUPER. |
Expr |
qualifier()
The qualifier of the call, possibly null. |
ConstructorCall |
qualifier(Expr qualifier)
Set the qualifier of the call, possibly null. |
| Methods inherited from interface polyglot.ast.Term |
acceptCFG, entry, reachable, reachable |
| Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge |
| Methods inherited from interface polyglot.ast.JL |
init, node |
| Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren |
| Methods inherited from interface polyglot.util.Copy |
copy |
| Methods inherited from interface polyglot.ast.ProcedureCall |
procedureInstance |
| Field Detail |
public static final ConstructorCall.Kind SUPER
public static final ConstructorCall.Kind THIS
| Method Detail |
public Expr qualifier()
public ConstructorCall qualifier(Expr qualifier)
public ConstructorCall.Kind kind()
public ConstructorCall kind(ConstructorCall.Kind kind)
public java.util.List arguments()
arguments in interface ProcedureCallExpr.public ProcedureCall arguments(java.util.List arguments)
arguments in interface ProcedureCallarguments - A list of Expr.public ConstructorInstance constructorInstance()
public ConstructorCall constructorInstance(ConstructorInstance ci)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||