SymbolTable flags;
SymbolTable methods;
boolean inline=false;
-
ChainHashMap mandatoryImports;
ChainHashMap multiImports;
String surroundingclass=null;
//adding another variable to indicate depth of this inner class
int innerDepth = 0;
- ClassDescriptor surroudingdesc=null;
+ ClassDescriptor surroundingdesc=null;
+
SymbolTable innerdescs;
// for enum type
}
public ClassDescriptor getSurroundingDesc() {
- return this.surroudingdesc;
+ return this.surroundingdesc;
}
public void setSurrounding(ClassDescriptor scd) {
- this.surroudingdesc=scd;
+ this.surroundingdesc=scd;
}
public void addInnerClass(ClassDescriptor icd) {