|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstructorCall
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, exceptions, exceptions, reachable, reachable |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
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.ast.ProcedureCall |
---|
procedureInstance |
Methods inherited from interface polyglot.ast.Term |
---|
acceptCFG, entry, exceptions, exceptions, reachable, reachable |
Methods inherited from interface polyglot.ast.Node |
---|
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
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 |
Field Detail |
---|
static final ConstructorCall.Kind SUPER
static final ConstructorCall.Kind THIS
Method Detail |
---|
Expr qualifier()
ConstructorCall qualifier(Expr qualifier)
ConstructorCall.Kind kind()
ConstructorCall kind(ConstructorCall.Kind kind)
java.util.List arguments()
arguments
in interface ProcedureCall
Expr
.ProcedureCall arguments(java.util.List arguments)
arguments
in interface ProcedureCall
arguments
- A list of Expr
.ConstructorInstance constructorInstance()
ConstructorCall constructorInstance(ConstructorInstance ci)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |