void deobfuscation fix

This commit is contained in:
Jindra Petřík
2014-11-04 22:15:19 +01:00
parent 94c3ce2ade
commit cba8f6fc41

View File

@@ -323,7 +323,9 @@ public class MethodInfo {
}
public GraphTextWriter getReturnTypeStr(GraphTextWriter writer, AVM2ConstantPool constants, List<String> fullyQualifiedNames) {
return writer.hilightSpecial(ret_type == 0 ? "*" : constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, false), "returns");
String rname = constants.getMultiname(ret_type).getName(constants, fullyQualifiedNames, true);
rname = IdentifiersDeobfuscation.printIdentifier(true,rname,"void");
return writer.hilightSpecial(ret_type == 0 ? "*" : rname, "returns");
}
public void setBody(MethodBody body) {