polyglot.ext.jl.types
Class LazyClassInitializer_c

java.lang.Object
  extended by polyglot.ext.jl.types.LazyClassInitializer_c
All Implemented Interfaces:
LazyClassInitializer

public class LazyClassInitializer_c
extends java.lang.Object
implements LazyClassInitializer

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.


Constructor Summary
LazyClassInitializer_c(TypeSystem ts)
           
 
Method Summary
 boolean fromClassFile()
          Return true if the class is from a class file.
 void initConstructors(ParsedClassType ct)
          Initialize ct's constructors.
 void initFields(ParsedClassType ct)
          Initialize ct's fields.
 void initInterfaces(ParsedClassType ct)
          Initialize ct's interfaces.
 void initMemberClasses(ParsedClassType ct)
          Initialize ct's member classes.
 void initMethods(ParsedClassType ct)
          Initialize ct's methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyClassInitializer_c

public LazyClassInitializer_c(TypeSystem ts)
Method Detail

fromClassFile

public boolean fromClassFile()
Description copied from interface: LazyClassInitializer
Return true if the class is from a class file.

Specified by:
fromClassFile in interface LazyClassInitializer

initConstructors

public void initConstructors(ParsedClassType ct)
Description copied from interface: LazyClassInitializer
Initialize ct's constructors.

Specified by:
initConstructors in interface LazyClassInitializer

initMethods

public void initMethods(ParsedClassType ct)
Description copied from interface: LazyClassInitializer
Initialize ct's methods.

Specified by:
initMethods in interface LazyClassInitializer

initFields

public void initFields(ParsedClassType ct)
Description copied from interface: LazyClassInitializer
Initialize ct's fields.

Specified by:
initFields in interface LazyClassInitializer

initMemberClasses

public void initMemberClasses(ParsedClassType ct)
Description copied from interface: LazyClassInitializer
Initialize ct's member classes.

Specified by:
initMemberClasses in interface LazyClassInitializer

initInterfaces

public void initInterfaces(ParsedClassType ct)
Description copied from interface: LazyClassInitializer
Initialize ct's interfaces.

Specified by:
initInterfaces in interface LazyClassInitializer