mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-14 03:29:23 +01:00
chore: internal reorganisation (breaking)
This commit is contained in:
parent
660730086d
commit
d06b6211bc
12 changed files with 15 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
|||
package ftbsc.lll.exceptions;
|
||||
|
||||
import ftbsc.lll.tools.InsnSequence;
|
||||
import ftbsc.lll.utils.InsnSequence;
|
||||
|
||||
/**
|
||||
* Thrown when attempting to build an {@link InsnSequence} between two
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.objectweb.asm.Type;
|
|||
|
||||
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
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
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
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
package ftbsc.lll.proxies.impl;
|
||||
|
||||
import ftbsc.lll.proxies.AbstractProxy;
|
||||
import ftbsc.lll.proxies.ProxyType;
|
||||
import ftbsc.lll.proxies.QualifiableProxy;
|
||||
import org.objectweb.asm.Type;
|
||||
|
||||
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
|
||||
|
@ -123,4 +122,4 @@ public class TypeProxy extends QualifiableProxy {
|
|||
public boolean equals(Object obj) {
|
||||
return obj instanceof TypeProxy && super.equals(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools;
|
||||
package ftbsc.lll.utils;
|
||||
|
||||
import org.objectweb.asm.Type;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools;
|
||||
package ftbsc.lll.utils;
|
||||
|
||||
import ftbsc.lll.exceptions.InstructionMismatchException;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools;
|
||||
package ftbsc.lll.utils;
|
||||
|
||||
import ftbsc.lll.exceptions.PatternNotFoundException;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools;
|
||||
package ftbsc.lll.utils;
|
||||
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.objectweb.asm.tree.*;
|
||||
|
@ -10,7 +10,7 @@ import java.util.Comparator;
|
|||
* Includes anything from instantiation to variable manipulation - just about
|
||||
* 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
|
||||
* the parameters.
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools.debug;
|
||||
package ftbsc.lll.utils.debug;
|
||||
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.objectweb.asm.tree.AbstractInsnNode;
|
||||
|
@ -76,4 +76,4 @@ public class BytecodePrinter {
|
|||
PRINTER.getText().clear();
|
||||
return sw.toString();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools.nodes;
|
||||
package ftbsc.lll.utils.nodes;
|
||||
|
||||
import ftbsc.lll.proxies.impl.FieldProxy;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools.nodes;
|
||||
package ftbsc.lll.utils.nodes;
|
||||
|
||||
import ftbsc.lll.proxies.impl.MethodProxy;
|
||||
import org.objectweb.asm.tree.MethodInsnNode;
|
|
@ -1,4 +1,4 @@
|
|||
package ftbsc.lll.tools.nodes;
|
||||
package ftbsc.lll.utils.nodes;
|
||||
|
||||
import ftbsc.lll.proxies.impl.TypeProxy;
|
||||
import org.objectweb.asm.tree.TypeInsnNode;
|
Loading…
Reference in a new issue