diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-04 01:47:15 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-04 11:08:17 +0100 |
commit | 118fae8fe79fe3bfdca79bfd4d08c27b1732ec45 (patch) | |
tree | 92dd2e50903026b8ecc1ac87afbf83f3f92912c9 /src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java | |
parent | 211a24bfc8b0d34b193161e7a48632bc1809fcfe (diff) |
fix: mistake in method names
Diffstat (limited to 'src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java')
-rw-r--r-- | src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java index d8e733d..896dc42 100644 --- a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java +++ b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java @@ -1,7 +1,6 @@ package ftbsc.lll.tools.nodes; import ftbsc.lll.proxies.FieldProxy; -import ftbsc.lll.proxies.MethodProxy; import org.objectweb.asm.tree.FieldInsnNode; /** @@ -15,14 +14,14 @@ public class FieldProxyInsnNode extends FieldInsnNode { * from a {@link FieldProxy}. * @param opcode the opcode, must be one of GETSTATIC, PUTSTATIC, * GETFIELD or PUTFIELD - * @param a {@link FieldProxy} representing the field to call + * @param f a {@link FieldProxy} representing the field to call */ - public FieldProxyInsnNode(int opcode, FieldProxy proxy) { + public FieldProxyInsnNode(int opcode, FieldProxy f) { super( opcode, - proxy.getParent().replace('.', '/'), - proxy.getSrgName(), - proxy.getDescriptor() + f.getParent().replace('.', '/'), + f.getName(), + f.getDescriptor() ); } } |