chore: updated insnnodes to match

This commit is contained in:
zaaarf 2023-03-21 12:31:10 +01:00
parent 1295516232
commit 8c11b0b4d8
No known key found for this signature in database
GPG key ID: AD8563472FD43386
2 changed files with 6 additions and 6 deletions

View file

@ -19,9 +19,9 @@ public class FieldProxyInsnNode extends FieldInsnNode {
public FieldProxyInsnNode(int opcode, FieldProxy f) { public FieldProxyInsnNode(int opcode, FieldProxy f) {
super( super(
opcode, opcode,
f.getParent().replace('.', '/'), f.parent.replace('.', '/'),
f.getName(), f.name,
f.getDescriptor() f.type.getDescriptor()
); );
} }
} }

View file

@ -20,9 +20,9 @@ public class MethodProxyInsnNode extends MethodInsnNode {
public MethodProxyInsnNode(int opcode, MethodProxy m) { public MethodProxyInsnNode(int opcode, MethodProxy m) {
super( super(
opcode, opcode,
m.getParent().replace('.', '/'), m.parent.replace('.', '/'),
m.getName(), m.name,
m.getDescriptor() m.type.getDescriptor()
); );
} }
} }