jltools.ast
Interface Initializer

All Superinterfaces:
ClassMember, java.lang.Cloneable, Copy, Node, java.io.Serializable
All Known Implementing Classes:
Initializer_c

public interface Initializer
extends ClassMember

An Initializer is an immutable representation of an initializer block in a Java class (which appears outside of any method). Such a block is executed before the code for any of the constructors. Such a block can optionally be static, in which case it is executed when the class is loaded.


Method Summary
 Block body()
           
 Initializer body(Block body)
           
 Flags flags()
           
 Initializer flags(Flags flags)
           
 InitializerInstance initializerInstance()
           
 
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
 

Method Detail

flags

public Flags flags()

flags

public Initializer flags(Flags flags)

body

public Block body()

body

public Initializer body(Block body)

initializerInstance

public InitializerInstance initializerInstance()