}
public String getSafeSymbol() {
- return safename.replace(".","___________");
+ return safename.replace(".","___________").replace("$","___DOLLAR___");
}
public String printTree(State state) {
else
hs=new HashSet();
if(this.parentIFs != null) {
- for(int i = 0; i < this.parentIFs.size(); i++) {
- if(this.parentIFs.elementAt(i).contains(name)) {
- hs.addAll((HashSet)(this.parentIFs.elementAt(i).getPSet(name)));
- }
+ for(int i = 0; i < parentIFs.size(); i++) {
+ hs.addAll(parentIFs.elementAt(i).getPSet(name));
}
}
if (table.containsKey(name)) {
}
if (oldstatus<REFERENCE) {
cd.addSuperInterfaces(superif);
+ cd.getMethodTable().addParentIF(superif.getMethodTable());
cd.getFieldTable().addParentIF(superif.getFieldTable());
}
}
if (!typetolookin.isClass())
throw new Error("Error with method call to "+min.getMethodName()+" in class "+typetolookin);
ClassDescriptor classtolookin=typetolookin.getClassDesc();
- checkClass(classtolookin, INIT);
-
+ checkClass(classtolookin, REFERENCE);
Set methoddescriptorset=classtolookin.getMethodTable().getSet(min.getMethodName());
MethodDescriptor bestmd=null;
NextMethod: