mirror of
https://github.com/SuspiciousActivity/ByteEdit.git
synced 2026-08-13 17:56:17 +00:00
Changed some frame stuff
This commit is contained in:
1 parent
0cb4461cc2
commit
a2349c38d4
2 files changed
+10
-10
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user