KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > types > LazyClassInitializer


1 package polyglot.types;
2
3 /**
4  * A LazyClassInitializer is responsible for initializing members of
5  * a class after it has been created. Members are initialized lazily
6  * to correctly handle cyclic dependencies between classes.
7  */

8 public interface LazyClassInitializer
9 {
10     /**
11      * Return true if the class is from a class file.
12      */

13     public boolean fromClassFile();
14
15     /**
16      * Initialize <code>ct</code>'s constructors.
17      */

18     public void initConstructors(ParsedClassType ct);
19
20     /**
21      * Initialize <code>ct</code>'s methods.
22      */

23     public void initMethods(ParsedClassType ct);
24
25     /**
26      * Initialize <code>ct</code>'s fields.
27      */

28     public void initFields(ParsedClassType ct);
29
30     /**
31      * Initialize <code>ct</code>'s member classes.
32      */

33     public void initMemberClasses(ParsedClassType ct);
34
35     /**
36      * Initialize <code>ct</code>'s interfaces.
37      */

38     public void initInterfaces(ParsedClassType ct);
39 }
40
Popular Tags