jltools.ast
Interface ConstructorCall
- All Superinterfaces:
- java.lang.Cloneable, Copy, Node, java.io.Serializable, Stmt
- All Known Implementing Classes:
- ConstructorCall_c
- public interface ConstructorCall
- extends Stmt
A ConstructorCall
is an immutable representation of
a direct call to a constructor of a class in the form of
super(...)
or this(...)
.
Inner Class Summary |
static class |
ConstructorCall.Kind
Constructor call kind: either "super" or "this". |
Methods inherited from interface jltools.ast.Node |
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren |
SUPER
public static final ConstructorCall.Kind SUPER
THIS
public static final ConstructorCall.Kind THIS
qualifier
public Expr qualifier()
qualifier
public ConstructorCall qualifier(Expr qualifier)
kind
public ConstructorCall.Kind kind()
kind
public ConstructorCall kind(ConstructorCall.Kind kind)
arguments
public java.util.List arguments()
arguments
public ConstructorCall arguments(java.util.List arguments)
constructorInstance
public ConstructorInstance constructorInstance()