SymbolTable flags;
SymbolTable methods;
+ Hashtable singleImports;
+ Vector multiImports;
+
int numstaticblocks = 0;
int numstaticfields = 0;
}
public ClassDescriptor(String packagename, String classname, boolean isInterface) {
+ //make the name canonical by class file path (i.e. package)
super(classname);
superclass=null;
flags=new SymbolTable();
this.sourceFileName=sourceFileName;
}
+ public void setImports(Hashtable singleImports, Vector multiImports) {
+ this.singleImports = singleImports;
+ this.multiImports = multiImports;
+ }
+
public String getSourceFileName(){
return this.sourceFileName;
}
+ public Hashtable getSingleImportMappings() {
+ return this.singleImports;
+ }
+
}