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);
|
arr.add(null);
|
||||||
} else {
|
} else {
|
||||||
if (o instanceof String) {
|
if (o instanceof String) {
|
||||||
arr.add("L" + UnicodeUtils.escapeWithSpaces((String) o) + ";");
|
arr.add("\"" + UnicodeUtils.escapeWithSpaces((String) o) + "\"");
|
||||||
} else if (o instanceof LabelNode) {
|
} else if (o instanceof LabelNode) {
|
||||||
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
|
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
|
||||||
} else if (o instanceof Integer) {
|
} else if (o instanceof Integer) {
|
||||||
@@ -447,7 +447,7 @@ public class Disassembler {
|
|||||||
arr.add(null);
|
arr.add(null);
|
||||||
} else {
|
} else {
|
||||||
if (o instanceof String) {
|
if (o instanceof String) {
|
||||||
arr.add("L" + UnicodeUtils.escapeWithSpaces((String) o) + ";");
|
arr.add("\"" + UnicodeUtils.escapeWithSpaces((String) o) + "\"");
|
||||||
} else if (o instanceof LabelNode) {
|
} else if (o instanceof LabelNode) {
|
||||||
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
|
arr.add("(label) " + labels.get(((LabelNode) o).getLabel()));
|
||||||
} else if (o instanceof Integer) {
|
} else if (o instanceof Integer) {
|
||||||
|
|||||||
@@ -189,13 +189,13 @@ public class ClassUtil {
|
|||||||
case 0:
|
case 0:
|
||||||
return "top";
|
return "top";
|
||||||
case 1:
|
case 1:
|
||||||
return "int";
|
return "I";
|
||||||
case 2:
|
case 2:
|
||||||
return "float";
|
return "F";
|
||||||
case 3:
|
case 3:
|
||||||
return "double";
|
return "D";
|
||||||
case 4:
|
case 4:
|
||||||
return "long";
|
return "J";
|
||||||
case 5:
|
case 5:
|
||||||
return "null";
|
return "null";
|
||||||
case 6:
|
case 6:
|
||||||
@@ -208,13 +208,13 @@ public class ClassUtil {
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case "top":
|
case "top":
|
||||||
return 0;
|
return 0;
|
||||||
case "int":
|
case "I":
|
||||||
return 1;
|
return 1;
|
||||||
case "float":
|
case "F":
|
||||||
return 2;
|
return 2;
|
||||||
case "double":
|
case "D":
|
||||||
return 3;
|
return 3;
|
||||||
case "long":
|
case "J":
|
||||||
return 4;
|
return 4;
|
||||||
case "null":
|
case "null":
|
||||||
return 5;
|
return 5;
|
||||||
|
|||||||
Reference in new issue
Block a user