chore: internal reorganisation (breaking)

This commit is contained in:
zaaarf 2024-01-24 17:16:50 +01:00
parent 660730086d
commit d06b6211bc
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B
12 changed files with 15 additions and 16 deletions

View file

@ -1,6 +1,6 @@
package ftbsc.lll.exceptions; package ftbsc.lll.exceptions;
import ftbsc.lll.tools.InsnSequence; import ftbsc.lll.utils.InsnSequence;
/** /**
* Thrown when attempting to build an {@link InsnSequence} between two * Thrown when attempting to build an {@link InsnSequence} between two

View file

@ -7,7 +7,7 @@ import org.objectweb.asm.Type;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import static ftbsc.lll.tools.DescriptorBuilder.nameToDescriptor; import static ftbsc.lll.utils.DescriptorBuilder.nameToDescriptor;
/** /**
* A container for information about class fields to be used * A container for information about class fields to be used

View file

@ -10,7 +10,7 @@ import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import static ftbsc.lll.tools.DescriptorBuilder.nameToDescriptor; import static ftbsc.lll.utils.DescriptorBuilder.nameToDescriptor;
/** /**
* A container for information about class methods to be used * A container for information about class methods to be used

View file

@ -1,13 +1,12 @@
package ftbsc.lll.proxies.impl; package ftbsc.lll.proxies.impl;
import ftbsc.lll.proxies.AbstractProxy;
import ftbsc.lll.proxies.ProxyType; import ftbsc.lll.proxies.ProxyType;
import ftbsc.lll.proxies.QualifiableProxy; import ftbsc.lll.proxies.QualifiableProxy;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;
import java.lang.reflect.Modifier; import java.lang.reflect.Modifier;
import static ftbsc.lll.tools.DescriptorBuilder.nameToDescriptor; import static ftbsc.lll.utils.DescriptorBuilder.nameToDescriptor;
/** /**
* A container for information about classes to be used * A container for information about classes to be used

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools; package ftbsc.lll.utils;
import org.objectweb.asm.Type; import org.objectweb.asm.Type;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools; package ftbsc.lll.utils;
import ftbsc.lll.exceptions.InstructionMismatchException; import ftbsc.lll.exceptions.InstructionMismatchException;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools; package ftbsc.lll.utils;
import ftbsc.lll.exceptions.PatternNotFoundException; import ftbsc.lll.exceptions.PatternNotFoundException;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools; package ftbsc.lll.utils;
import org.objectweb.asm.Opcodes; import org.objectweb.asm.Opcodes;
import org.objectweb.asm.tree.*; import org.objectweb.asm.tree.*;
@ -10,7 +10,7 @@ import java.util.Comparator;
* Includes anything from instantiation to variable manipulation - just about * Includes anything from instantiation to variable manipulation - just about
* anything that loads stuff on or from the stack. * anything that loads stuff on or from the stack.
*/ */
public class StackTools implements Opcodes { public class StackUtils implements Opcodes {
/** /**
* Creates a new instance of an object, given its internal name, constructor descriptor and instructions to load * Creates a new instance of an object, given its internal name, constructor descriptor and instructions to load
* the parameters. * the parameters.

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools.debug; package ftbsc.lll.utils.debug;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.objectweb.asm.tree.AbstractInsnNode; import org.objectweb.asm.tree.AbstractInsnNode;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools.nodes; package ftbsc.lll.utils.nodes;
import ftbsc.lll.proxies.impl.FieldProxy; import ftbsc.lll.proxies.impl.FieldProxy;
import org.objectweb.asm.tree.FieldInsnNode; import org.objectweb.asm.tree.FieldInsnNode;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools.nodes; package ftbsc.lll.utils.nodes;
import ftbsc.lll.proxies.impl.MethodProxy; import ftbsc.lll.proxies.impl.MethodProxy;
import org.objectweb.asm.tree.MethodInsnNode; import org.objectweb.asm.tree.MethodInsnNode;

View file

@ -1,4 +1,4 @@
package ftbsc.lll.tools.nodes; package ftbsc.lll.utils.nodes;
import ftbsc.lll.proxies.impl.TypeProxy; import ftbsc.lll.proxies.impl.TypeProxy;
import org.objectweb.asm.tree.TypeInsnNode; import org.objectweb.asm.tree.TypeInsnNode;