KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ext > jl > types > LazyClassInitializer_c


1 package polyglot.ext.jl.types;
2
3 import polyglot.types.*;
4 import polyglot.types.Package;
5 import polyglot.util.*;
6 import polyglot.frontend.Job;
7 import java.io.*;
8 import java.util.*;
9
10 /**
11  * A LazyClassInitializer is responsible for initializing members of
12  * a class after it has been created. Members are initialized lazily
13  * to correctly handle cyclic dependencies between classes.
14  */

15 public class LazyClassInitializer_c implements LazyClassInitializer
16 {
17     TypeSystem ts;
18
19     public LazyClassInitializer_c(TypeSystem ts) {
20         this.ts = ts;
21     }
22
23     public boolean fromClassFile() {
24         return false;
25     }
26
27     public void initConstructors(ParsedClassType ct) {
28     }
29
30     public void initMethods(ParsedClassType ct) {
31     }
32
33     public void initFields(ParsedClassType ct) {
34     }
35
36     public void initMemberClasses(ParsedClassType ct) {
37     }
38
39     public void initInterfaces(ParsedClassType ct) {
40     }
41 }
42
Popular Tags