Changed some frame stuff

This commit is contained in:
SuspiciousActivity committed 2019-02-15 19:48:18 +01:00
1 parent 0cb4461cc2
commit a2349c38d4
2 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -421,7 +421,7 @@ public class Disassembler {
arr.add(null);
} else {
if (o instanceof String) {
arr.add("L" + UnicodeUtils.escapeWithSpaces((String) o) + ";");
arr.add("\"" + UnicodeUtils.escapeWithSpaces((String) o) + "\"");
} else if (o instanceof LabelNode) {
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
} else if (o instanceof Integer) {
@@ -447,7 +447,7 @@ public class Disassembler {
arr.add(null);
} else {
if (o instanceof String) {
arr.add("L" + UnicodeUtils.escapeWithSpaces((String) o) + ";");
arr.add("\"" + UnicodeUtils.escapeWithSpaces((String) o) + "\"");
} else if (o instanceof LabelNode) {
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
} else if (o instanceof Integer) {
+8 -8
View File
@@ -189,13 +189,13 @@ public class ClassUtil {
case 0:
return "top";
case 1:
return "int";
return "I";
case 2:
return "float";
return "F";
case 3:
return "double";
return "D";
case 4:
return "long";
return "J";
case 5:
return "null";
case 6:
@@ -208,13 +208,13 @@ public class ClassUtil {
switch (type) {
case "top":
return 0;
case "int":
case "I":
return 1;
case "float":
case "F":
return 2;
case "double":
case "D":
return 3;
case "long":
case "J":
return 4;
case "null":
return 5;