AS3: better imports

AS3: Types with same name shown with namespace
This commit is contained in:
Jindra Pet��k
2012-12-30 19:54:09 +01:00
parent 56f083fdb8
commit 30337c38c8
254 changed files with 770 additions and 661 deletions
@@ -33,18 +33,18 @@ public class ConstructTreeItem extends TreeItem {
}
@Override
public String toString(ConstantPool constants, HashMap<Integer, String> localRegNames) {
public String toString(ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
String argStr = "";
for (int a = 0; a < args.size(); a++) {
if (a > 0) {
argStr = argStr + ",";
}
argStr = argStr + args.get(a).toString(constants, localRegNames);
argStr = argStr + args.get(a).toString(constants, localRegNames, fullyQualifiedNames);
}
if (object instanceof NewFunctionTreeItem) {
return object.toString(constants, localRegNames);
return object.toString(constants, localRegNames, fullyQualifiedNames);
}
return hilight("new ") + object.toString(constants, localRegNames) + hilight("(") + argStr + hilight(")");
return hilight("new ") + object.toString(constants, localRegNames, fullyQualifiedNames) + hilight("(") + argStr + hilight(")");
}
}