- AbstractProxy - Class in ftbsc.lll.proxies
-
Abstract proxy class, implementing common aspects.
- AbstractProxy(String, String, int, QualifiableProxy, ProxyType) - Constructor for class ftbsc.lll.proxies.AbstractProxy
-
The private constructor, should be called by all classes extending this in theirs.
- AbstractProxy.Builder<T extends AbstractProxy> - Class in ftbsc.lll.proxies
-
A Builder for the generic proxy.
- add(AbstractInsnNode...) - Method in class ftbsc.lll.utils.InsnSequence
-
Adds an array of nodes to the list.
- add(AbstractInsnNode) - Method in class ftbsc.lll.utils.InsnSequence
-
Wraps InsnList's add() to throw an exception
when given null values.
- addLocalVariable(MethodNode, String, String) - Static method in class ftbsc.lll.utils.StackUtils
-
Creates a new local variable, lasting in scope from the first to the last label of the given method.
- addLocalVariable(MethodNode, String, String, LabelNode, LabelNode) - Static method in class ftbsc.lll.utils.StackUtils
-
Creates a new local variable, lasting in scope between two given LabelNode
s.
- addModifier(int) - Method in class ftbsc.lll.proxies.AbstractProxy.Builder
-
- addParameter(String, int) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Adds a parameter of a given type.
- addParameter(Class<?>) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Adds a parameter of a given type.
- addParameter(Class<?>) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Adds a parameter of the given class type to the method.
- addParameter(String) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Adds a parameter with the type specified by the given fully
qualified name to the method.
- addParameter(String, int) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Adds a parameter with the type specified by the given fully
qualified name (example: java.lang.String) to the method, with
the specified array level.
- any() - Method in class ftbsc.lll.utils.PatternMatcher.Builder
-
Wildcard, matches any kind of node.
- ignoreFrames() - Method in class ftbsc.lll.utils.PatternMatcher.Builder
-
Tells the pattern matcher to ignore FRAME instructions.
- ignoreLabels() - Method in class ftbsc.lll.utils.PatternMatcher.Builder
-
Tells the pattern matcher to ignore LABEL instructions.
- ignoreLineNumbers() - Method in class ftbsc.lll.utils.PatternMatcher.Builder
-
Tells the pattern matcher to ignore LINENUMBER instructions.
- IInjector - Interface in ftbsc.lll
-
Patch classes should implement this interface and be declared as services in
the META-INF/services folder (or through modules in Java 9+, but only Java 8
is officially supported).
- inject(ClassNode, MethodNode) - Method in interface ftbsc.lll.IInjector
-
This method is to be called by the launcher after identifying the right class and
method to patch.
- InjectionException - Exception in ftbsc.lll.exceptions
-
Thrown when the injection of a patch fails.
- InjectionException(String) - Constructor for exception ftbsc.lll.exceptions.InjectionException
-
Constructs a new injection exception with the specified detail message.
- InjectionException(String, Throwable) - Constructor for exception ftbsc.lll.exceptions.InjectionException
-
Constructs a new injection exception with the specified detail message and cause.
- InjectionException(Throwable) - Constructor for exception ftbsc.lll.exceptions.InjectionException
-
Constructs a new injection exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
- InsnSequence - Class in ftbsc.lll.utils
-
Represents a sequence of instructions contained within two given nodes.
- InsnSequence() - Constructor for class ftbsc.lll.utils.InsnSequence
-
Public constructor.
- InsnSequence(AbstractInsnNode) - Constructor for class ftbsc.lll.utils.InsnSequence
-
Public constructor for list with single item.
- InsnSequence(AbstractInsnNode, AbstractInsnNode) - Constructor for class ftbsc.lll.utils.InsnSequence
-
Public constructor.
- insnToString(AbstractInsnNode) - Static method in class ftbsc.lll.utils.debug.BytecodePrinter
-
Converts an instruction node to a String.
- instantiate(String, String, AbstractInsnNode...) - Static method in class ftbsc.lll.utils.StackUtils
-
Creates a new instance of an object, given its internal name, constructor descriptor and instructions to load
the parameters.
- instantiate(String, String, InsnList) - Static method in class ftbsc.lll.utils.StackUtils
-
Creates a new instance of an object, given its internal name, constructor descriptor and instructions to load
the parameters.
- InstructionMismatchException - Exception in ftbsc.lll.exceptions
-
Thrown when attempting to build an
InsnSequence
between two
unconnected nodes.
- InstructionMismatchException(String) - Constructor for exception ftbsc.lll.exceptions.InstructionMismatchException
-
Constructs a new instruction mismatch exception with the specified detail message.
- InstructionMismatchException(String, Throwable) - Constructor for exception ftbsc.lll.exceptions.InstructionMismatchException
-
Constructs a new instruction mismatch exception with the specified detail message and cause.
- InstructionMismatchException(Throwable) - Constructor for exception ftbsc.lll.exceptions.InstructionMismatchException
-
Constructs a new instruction mismatch exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
- internalName - Variable in class ftbsc.lll.proxies.QualifiableProxy
-
The "internal name" (fully-qualified with slashes) of the element
represented by this proxy.
- setDescriptor(String) - Method in class ftbsc.lll.proxies.AbstractProxy.Builder
-
Sets Type
for this element from the descriptor, passed as a String
.
- setDescriptor(String) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Sets the type of the method to the given descriptor,
and extracts return and parameter types from it.
- setModifiers(int) - Method in class ftbsc.lll.proxies.AbstractProxy.Builder
-
- setParent(QualifiableProxy) - Method in class ftbsc.lll.proxies.AbstractProxy.Builder
-
- setParent(String, int) - Method in class ftbsc.lll.proxies.impl.FieldProxy.Builder
-
Sets the parent class of this field to the one described by the
fully qualified name and with the given modifiers.
- setParent(String) - Method in class ftbsc.lll.proxies.impl.FieldProxy.Builder
-
Sets the parent class of this field to the one described by the
fully qualified name.
- setParent(String, int) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Sets the parent class of this method to the one described by the
fully qualified name and with the given modifiers.
- setParent(String) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Sets the parent class of this method to the one described by the
fully qualified name.
- setReturnType(String, int) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Sets the return type to the given type.
- setReturnType(Class<?>) - Method in class ftbsc.lll.proxies.impl.MethodProxy.Builder
-
Sets the return type to the given type.
- setReturnType(Class<?>) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Sets the return type to the given type.
- setReturnType(String) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Sets the return type to the Object specified here as a fully
qualified name.
- setReturnType(String, int) - Method in class ftbsc.lll.utils.DescriptorBuilder
-
Sets the return type to the Object specified here as a fully
qualified name (example: java.lang.String), with the specified array level.
- setType(Type) - Method in class ftbsc.lll.proxies.AbstractProxy.Builder
-
- setType(Class<?>) - Method in class ftbsc.lll.proxies.impl.FieldProxy.Builder
-
Sets the type of the field to the given Class
object.
- setType(String, int) - Method in class ftbsc.lll.proxies.impl.FieldProxy.Builder
-
Sets the type of the field to the given type.
- StackUtils - Class in ftbsc.lll.utils
-
Various methods for manipulating the stack.
- StackUtils() - Constructor for class ftbsc.lll.utils.StackUtils
-