mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 10:55:12 +00:00
"this." prefix fixed, big fixed in remove jump
This commit is contained in:
@@ -41,7 +41,7 @@ public class CallSuperAVM2Item extends AVM2Item {
|
||||
|
||||
@Override
|
||||
public HilightedTextWriter toString(HilightedTextWriter writer, ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
|
||||
if (!receiver.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this.")) {
|
||||
if (!receiver.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this")) {
|
||||
receiver.toString(writer, constants, localRegNames, fullyQualifiedNames);
|
||||
hilight(".", writer);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ public class ConstructSuperAVM2Item extends AVM2Item {
|
||||
|
||||
@Override
|
||||
public HilightedTextWriter toString(HilightedTextWriter writer, ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this.")) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this")) {
|
||||
object.toString(writer, constants, localRegNames, fullyQualifiedNames);
|
||||
hilight(".", writer);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ public class GetSuperAVM2Item extends AVM2Item {
|
||||
|
||||
@Override
|
||||
public HilightedTextWriter toString(HilightedTextWriter writer, ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this.")) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this")) {
|
||||
object.toString(writer, constants, localRegNames, fullyQualifiedNames);
|
||||
hilight(".", writer);
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public class SetSuperAVM2Item extends AVM2Item {
|
||||
|
||||
@Override
|
||||
public HilightedTextWriter toString(HilightedTextWriter writer, ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this.")) {
|
||||
if (!object.toString(false, constants, localRegNames, fullyQualifiedNames).equals("this")) {
|
||||
object.toString(writer, constants, localRegNames, fullyQualifiedNames);
|
||||
hilight(".", writer);
|
||||
}
|
||||
|
||||
@@ -466,9 +466,7 @@ public class ActionListReader {
|
||||
|
||||
List<Action> actionMap = new ArrayList<>(lastIdx);
|
||||
for (int i = 0; i <= lastIdx; i++) {
|
||||
Action a = new ActionNop();
|
||||
a.setAddress(i, version);
|
||||
actionMap.add(a);
|
||||
actionMap.add(null);
|
||||
}
|
||||
for (Action a : actions) {
|
||||
actionMap.set((int) a.getAddress(), a);
|
||||
|
||||
Reference in New Issue
Block a user