diff options
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() ); } } |