jltools.ast
Interface QualifiedNew

All Superinterfaces:
java.lang.Cloneable, Copy, Expr, Node, Prefix, Receiver, java.io.Serializable, Typed
All Known Implementing Classes:
QualifiedNew_c

public interface QualifiedNew
extends Expr

A QualifiedNew is an immutable representation of the use of the qualified new operator to create a new instance of a member class. In addition to the type of the class being created, a QualifiedNew has a list of arguments to be passed to the constructor of the object and an optional ClassBody used to support anonymous classes. It is also preceded by an qualifier expression which specifies the context in which the object is being created.


Method Summary
 java.util.List arguments()
           
 QualifiedNew arguments(java.util.List arguments)
           
 ClassBody body()
           
 QualifiedNew body(ClassBody body)
           
 TypeNode objectType()
           
 QualifiedNew objectType(TypeNode objectType)
           
 Expr qualifier()
           
 QualifiedNew qualifier(Expr qualifier)
           
 
Methods inherited from interface jltools.ast.Expr
precedence, type
 
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
 
Methods inherited from interface jltools.ast.Typed
type
 

Method Detail

qualifier

public Expr qualifier()

qualifier

public QualifiedNew qualifier(Expr qualifier)

objectType

public TypeNode objectType()

objectType

public QualifiedNew objectType(TypeNode objectType)

arguments

public java.util.List arguments()

arguments

public QualifiedNew arguments(java.util.List arguments)

body

public ClassBody body()

body

public QualifiedNew body(ClassBody body)