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".
 
Field Summary
static ConstructorCall.Kind SUPER
           
static ConstructorCall.Kind THIS
           
 
Method Summary
 java.util.List arguments()
           
 ConstructorCall arguments(java.util.List arguments)
           
 ConstructorInstance constructorInstance()
           
 ConstructorCall.Kind kind()
           
 ConstructorCall kind(ConstructorCall.Kind kind)
           
 Expr qualifier()
           
 ConstructorCall qualifier(Expr qualifier)
           
 
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
 

Field Detail

SUPER

public static final ConstructorCall.Kind SUPER

THIS

public static final ConstructorCall.Kind THIS
Method Detail

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()