polyglot.types
Interface LazyInitializer

All Known Subinterfaces:
LazyClassInitializer
All Known Implementing Classes:
ClassFileLazyClassInitializer, DeserializedClassInitializer, SchedulerClassInitializer

public interface LazyInitializer

A LazyClassInitializer is responsible for initializing members of a class after it has been created. Members are initialized lazily to correctly handle cyclic dependencies between classes.


Method Summary
 void initTypeObject()
          Initialize the type object.
 boolean isTypeObjectInitialized()
          Return true if initTypeObject has been called.
 

Method Detail

initTypeObject

void initTypeObject()
Initialize the type object. This must be called once when the object is added to the root-level system resolver, but never before then.


isTypeObjectInitialized

boolean isTypeObjectInitialized()
Return true if initTypeObject has been called.