diff options
author | zaaarf <me@zaaarf.foo> | 2024-01-24 17:16:50 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2024-01-24 17:16:50 +0100 |
commit | d06b6211bc0815c36d44c65312c097058901b1c5 (patch) | |
tree | 1a942f8d9dfd08ff8f06c576f63ba0663ce051b0 /src/main/java/ftbsc/lll/tools/nodes | |
parent | 660730086dc6b8895eb871a3df98956041453983 (diff) |
chore: internal reorganisation (breaking)0.5.0
Diffstat (limited to 'src/main/java/ftbsc/lll/tools/nodes')
3 files changed, 0 insertions, 68 deletions
diff --git a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java deleted file mode 100644 index d1ac595..0000000 --- a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java +++ /dev/null @@ -1,22 +0,0 @@ -package ftbsc.lll.tools.nodes; - -import ftbsc.lll.proxies.impl.FieldProxy; -import org.objectweb.asm.tree.FieldInsnNode; - -/** - * Overrides the {@link FieldInsnNode} to add a constructor - * taking in a {@link FieldProxy}. - * @since 0.3.0 - */ -public class FieldProxyInsnNode extends FieldInsnNode { - /** - * Constructs a new {@link FieldInsnNode} starting - * from a {@link FieldProxy}. - * @param opcode the opcode, must be one of GETSTATIC, PUTSTATIC, - * GETFIELD or PUTFIELD - * @param f a {@link FieldProxy} representing the field to call - */ - public FieldProxyInsnNode(int opcode, FieldProxy f) { - super(opcode, f.parent.internalName, f.name, f.descriptor); - } -} diff --git a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java deleted file mode 100644 index 73a26d7..0000000 --- a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java +++ /dev/null @@ -1,23 +0,0 @@ -package ftbsc.lll.tools.nodes; - -import ftbsc.lll.proxies.impl.MethodProxy; -import org.objectweb.asm.tree.MethodInsnNode; - -/** - * Overrides the {@link MethodInsnNode} to add a constructor - * taking in a {@link MethodProxy}. - * @since 0.3.0 - */ -public class MethodProxyInsnNode extends MethodInsnNode { - - /** - * Constructs a new {@link MethodInsnNode} starting - * from a {@link MethodProxy}. - * @param opcode the opcode, must be one of INVOKEVIRTUAL, - * INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE - * @param m a {@link MethodProxy} representing the method to call - */ - public MethodProxyInsnNode(int opcode, MethodProxy m) { - super(opcode, m.parent.internalName, m.name, m.descriptor); - } -} diff --git a/src/main/java/ftbsc/lll/tools/nodes/TypeProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/TypeProxyInsnNode.java deleted file mode 100644 index 9e78dc9..0000000 --- a/src/main/java/ftbsc/lll/tools/nodes/TypeProxyInsnNode.java +++ /dev/null @@ -1,23 +0,0 @@ -package ftbsc.lll.tools.nodes; - -import ftbsc.lll.proxies.impl.TypeProxy; -import org.objectweb.asm.tree.TypeInsnNode; - -/** - * Overrides the {@link TypeInsnNode} to add a constructor - * taking in a {@link TypeProxy}. - * @since 0.4.0 - */ -public class TypeProxyInsnNode extends TypeInsnNode { - /** - * Constructs a new {@link TypeInsnNode} starting from a - * {@link TypeProxy}. The user should ensure that the TypeInsnNode - * represents a declared type before calling this. - * @param opcode the opcode, must be one of NEW, ANEWARRAY, - * CHECKCAST or INSTANCEOF - * @param t a {@link TypeProxy} representing the type to call - */ - public TypeProxyInsnNode(int opcode, TypeProxy t) { - super(opcode, t.internalName); - } -} |