- access(int) - Method in class net.lenni0451.classtransform.utils.Codifier
-
Set the access modifier of the method.
- add(List<AnnotationHandler>, AnnotationHandler) - Method in enum net.lenni0451.classtransform.transformer.HandlerPosition
-
- addBytecodeTransformer(IBytecodeTransformer) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a bytecode transformer to the transformer list.
- addClassMapping(String, String) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a class mapping to the remapper.
- addClassMapping(String, String, boolean) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a class mapping to the remapper.
- addCustomAnnotationHandler(AnnotationHandler, HandlerPosition) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a custom annotation handler into the handler chain.
- addFieldMapping(String, String, String) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a field mapping to the remapper without a descriptor.
- addFieldMapping(String, String, String, boolean) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a field mapping to the remapper without a descriptor.
- addFieldMapping(String, String, String, String) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a field mapping to the remapper.
- addFieldMapping(String, String, String, String, boolean) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a field mapping to the remapper.
- addInjectionTarget(String, IInjectionTarget) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a new injection target for use with the
CTarget annotation.
- addMethodMapping(String, String, String, String) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a method mapping to the remapper.
- addMethodMapping(String, String, String, String, boolean) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Add a method mapping to the remapper.
- addPostTransformConsumer(IPostTransformer) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a post transformer to handle the raw bytecode after all transformer have been applied.
- addProtectedPackage(String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
Add a protected package to prevent the classes from being transformed.
- addRawTransformer(String, IRawTransformer) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a raw class transformer to the transformer list.
- addRuntimeResource(String, byte[]) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
Add a new resource to the classpath during runtime.
- addTransformer(String) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a transformer class to the transformer list.
- addTransformer(ClassNode) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a ClassNode directly to the transformer list.
- addTransformer(ClassNode, boolean) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add a ClassNode directly to the transformer list.
- addTransformerPreprocessor(IAnnotationHandlerPreprocessor) - Method in class net.lenni0451.classtransform.TransformerManager
-
Add an annotation handler preprocessor to the preprocessor list.
- addURL(URL) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
Add an url to the classpath.
- AMapper - Class in net.lenni0451.classtransform.mappings
-
The abstract remapper class responsible for remapping class transform annotations.
- AMapper(MapperConfig) - Constructor for class net.lenni0451.classtransform.mappings.AMapper
-
- AnnotationHandler - Class in net.lenni0451.classtransform.transformer
-
The abstract base for all annotation handlers.
- AnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.AnnotationHandler
-
- AnnotationParser<T extends java.lang.annotation.Annotation> - Class in net.lenni0451.classtransform.utils.annotations
-
Create a new instance of an annotation from its raw ASM bytecode values.
- AnnotationParser(Class<T>, ClassTree, IClassProvider) - Constructor for class net.lenni0451.classtransform.utils.annotations.AnnotationParser
-
- AnnotationRemap - Annotation Type in net.lenni0451.classtransform.mappings.annotation
-
An internal annotation used to mark fields of ClassTransform annotations to be remapped.
- AnnotationUtils - Class in net.lenni0451.classtransform.utils.annotations
-
- AnnotationUtils() - Constructor for class net.lenni0451.classtransform.utils.annotations.AnnotationUtils
-
- argumentTypes(Object) - Static method in class net.lenni0451.classtransform.utils.Types
-
Get argument types from an object.
- ASMUtils - Class in net.lenni0451.classtransform.utils
-
General utils for using ASM.
- ASMUtils() - Constructor for class net.lenni0451.classtransform.utils.ASMUtils
-
- canRead() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canRead(int) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadByte(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadDouble(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadFloat(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadInt(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadLong(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- canReadShort(boolean) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- CASM - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Inject into a method using direct ASM.
- CASM.Shift - Enum in net.lenni0451.classtransform.annotations.injection
-
- CASMAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CASM annotation.
- CASMAnnotationHandler(CASM.Shift) - Constructor for class net.lenni0451.classtransform.transformer.impl.CASMAnnotationHandler
-
- castReturnValue() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- CInject - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Inject into a method at various targets.
- CInjectAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CInject annotation.
- CInjectAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CInjectAnnotationHandler
-
- CInline - Annotation Type in net.lenni0451.classtransform.annotations
-
Inline an injection method into the target method.
- CInlineAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CInline annotation.
- CInlineAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CInlineAnnotationHandler
-
- ClassDefiner<T> - Class in net.lenni0451.classtransform.utils.annotations
-
Define anonymous classes at runtime.
- ClassTree - Class in net.lenni0451.classtransform.utils.tree
-
A class tree which dynamically loads tree parts on demand.
- ClassTree() - Constructor for class net.lenni0451.classtransform.utils.tree.ClassTree
-
- ClassTree(TransformerManager) - Constructor for class net.lenni0451.classtransform.utils.tree.ClassTree
-
- ClassTree.TreePart - Class in net.lenni0451.classtransform.utils.tree
-
- CLocalVariable - Annotation Type in net.lenni0451.classtransform.annotations
-
Mark the parameter of a
CInject transformer method as a local variable.
- cloneClass(ClassNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Clone a class node with all its methods and fields.
- cloneInsnList(InsnList) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Clone an insn list with all its instructions.
- cloneMethod(MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Clone a method node with all its instructions.
- CModifyConstant - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Modify a constant value in a method.
- CModifyConstantAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
- CModifyConstantAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CModifyConstantAnnotationHandler
-
- Codifier - Class in net.lenni0451.classtransform.utils
-
Util class to generate method header strings.
- combiToRegex(String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Convert a field or method search pattern to a regex pattern.
- compareType(Type, Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare a single type with a target type
This supports the usage of object instead of the actual type but does not check for other inheritance.
- compareTypes(Type[], Type[]) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare an array of types with a target array of types.
- compareTypes(Type[], Type[], boolean, Type...) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare an array of types with a target array of types.
- ConstantTarget - Class in net.lenni0451.classtransform.targets.impl
-
A target for constants in the bytecode.
- ConstantTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.ConstantTarget
-
- copy(MapRemapper) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Copy all mappings from another remapper to this one.
- copyClass(IClassProvider, String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
Copy a class to the runtime resources.
- copyResource(ClassLoader, String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
Copy a resource from a class loader to the runtime resources.
- COverride - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Override a method in a class.
- COverrideAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
COverride annotation.
- COverrideAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.COverrideAnnotationHandler
-
- create() - Static method in class net.lenni0451.classtransform.mappings.MapperConfig
-
- createEmptyClass(String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Create an empty class with a default constructor.
- CRedirect - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Redirect a specified method call or field access.
- CRedirectAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CRedirect annotation.
- CRedirectAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CRedirectAnnotationHandler
-
- CRedirectField - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
The redirect target transformer for fields.
- CRedirectField() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectField
-
- CRedirectInvoke - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
The redirect target transformer for method invokes.
- CRedirectInvoke() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectInvoke
-
- CRedirectNew - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
The redirect target transformer for Opcodes.NEW instructions.
- CRedirectNew() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectNew
-
- CShadow - Annotation Type in net.lenni0451.classtransform.annotations
-
Create a shadow copy of a method/field/constructor to directly access the original member after injection.
- CShadowAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CShadow annotation.
- CShadowAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CShadowAnnotationHandler
-
- CSlice - Annotation Type in net.lenni0451.classtransform.annotations
-
Specify a slice of bytecode to make choosing the injection target easier.
- CTarget - Annotation Type in net.lenni0451.classtransform.annotations
-
Specify the target of the transformer method.
- CTarget.Shift - Enum in net.lenni0451.classtransform.annotations
-
The shift for injecting BEFORE/AFTER the target.
- CTransformer - Annotation Type in net.lenni0451.classtransform.annotations
-
Mark a class as a transformer class.
- CUpgrade - Annotation Type in net.lenni0451.classtransform.annotations
-
Upgrade the version of a class to use never java features.
- CUpgradeAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CUpgrade annotation.
- CUpgradeAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CUpgradeAnnotationHandler
-
- CWrapCatch - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Wrap an entire method or a single instruction in a try-catch block.
- CWrapCatchAnnotationHandler - Class in net.lenni0451.classtransform.transformer.impl
-
The annotation handler for the
CWrapCatch annotation.
- CWrapCatchAnnotationHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.CWrapCatchAnnotationHandler
-
- generateClassName(String) - Static method in class net.lenni0451.classtransform.utils.annotations.ClassDefiner
-
Generate a name for the defined class.
- get() - Static method in class net.lenni0451.classtransform.utils.Codifier
-
- getAllClasses() - Method in class net.lenni0451.classtransform.utils.tree.BasicClassProvider
-
- getAllClasses() - Method in interface net.lenni0451.classtransform.utils.tree.IClassProvider
-
Get a map of all classes with a supplier for their bytecode.
- getAnnotation(Class<T>, ClassNode, TransformerManager) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Get a parsed annotation from a class node.
- getAnnotation(Class<T>, FieldNode, TransformerManager) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Get a parsed annotation from a field node.
- getAnnotation(Class<T>, MethodNode, TransformerManager) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Get a parsed annotation from a method node.
- getAnnotation(Class<T>, List<AnnotationNode>, TransformerManager) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Get a parsed annotation from a list of annotation nodes.
- getArgs() - Method in class net.lenni0451.classtransform.utils.log.Logger.MessageArgs
-
- getCast(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the byte code to cast an object to a given type.
- getClass(String) - Method in class net.lenni0451.classtransform.utils.tree.BasicClassProvider
-
- getClass(String) - Method in interface net.lenni0451.classtransform.utils.tree.IClassProvider
-
Get the bytecode of a class.
- getClassProvider() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getClassTree() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getClazz() - Method in class net.lenni0451.classtransform.utils.annotations.ClassDefiner
-
- getCommonSuperClass(String, String) - Method in class net.lenni0451.classtransform.utils.tree.TreeClassWriter
-
- getCursor() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- getDebugger() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getDesc() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getException() - Method in class net.lenni0451.classtransform.utils.log.Logger.MessageArgs
-
- getFailStrategy() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getField(ClassNode, String, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a field node from a class node using the name.
- getFieldsFromCombi(ClassNode, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a list of method nodes from a class node using the combined name and descriptor.
- getFirstConstructorInstruction(String, MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the first instruction of a constructor skipping the super init call.
- getFreeVarIndex(MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the last empty local variable index.
- getGroup() - Method in class net.lenni0451.classtransform.debugger.timings.TimedTransformer
-
- getHotswapClass(String) - Method in class net.lenni0451.classtransform.utils.HotswapClassLoader
-
Get the bytecode of a fake class.
- getInjectionTargets() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getLoadOpcode(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the needed load opcode for the given type.
- getLoadStoreOpcodes(String, String, int) - Method in interface net.lenni0451.classtransform.transformer.impl.credirect.IRedirectTarget
-
Get the load and store opcodes for the given method invocation.
- getMapper() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getMappings() - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
- getMessage() - Method in exception net.lenni0451.classtransform.exceptions.FieldNotFoundException
-
- getMessage() - Method in exception net.lenni0451.classtransform.exceptions.InvalidTargetException
-
- getMessage() - Method in exception net.lenni0451.classtransform.exceptions.MethodNotFoundException
-
- getMessage() - Method in exception net.lenni0451.classtransform.exceptions.TransformerException
-
- getMethod(ClassNode, String, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a method node from a class node using the name and descriptor.
- getMethodsFromCombi(ClassNode, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a list of method nodes from a class node using the combined name and descriptor.
- getModifiers() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree.TreePart
-
- getName() - Method in class net.lenni0451.classtransform.debugger.timings.TimedTransformer
-
- getName() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getName() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree.TreePart
-
- getNode() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree.TreePart
-
The bytecode of the class may not valid since it is missing stack map frames.
- getNumber(AbstractInsnNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a number from an insn node if it represents one.
- getOwner() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getParsedSuperClasses(IClassProvider, boolean) - Method in class net.lenni0451.classtransform.utils.tree.ClassTree.TreePart
-
Get the class tree parts of all super classes of this class.
- getPrimitiveToObject(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the byte code to wrap a primitive to its wrapper type (e.g. int to Integer).
- getRegisteredTransformer() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getRemapper() - Method in class net.lenni0451.classtransform.mappings.AMapper
-
Get the remapper used by this mapper.
- getResource(String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- getReturnOpcode(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the needed return opcode for the given type.
- getReturnValue() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- getShift(CTarget) - Method in interface net.lenni0451.classtransform.targets.IInjectionTarget
-
Get the shift for this target.
- getShift(CTarget) - Method in class net.lenni0451.classtransform.targets.impl.HeadTarget
-
- getShift(CTarget) - Method in class net.lenni0451.classtransform.targets.impl.ReturnTarget
-
- getShift(CTarget) - Method in class net.lenni0451.classtransform.targets.impl.TailTarget
-
- getShift(CTarget) - Method in class net.lenni0451.classtransform.targets.impl.ThrowTarget
-
- getSlice(Map<String, IInjectionTarget>, MethodNode, CSlice) - Method in interface net.lenni0451.classtransform.targets.IInjectionTarget
-
Get all instructions in the given slice.
- getStartingMappings(String...) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Get a list of all mapping keys starting with one of the given prefixes.
- getStoreOpcode(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the needed store opcode for the given type.
- getSuperClasses() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree.TreePart
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in interface net.lenni0451.classtransform.targets.IInjectionTarget
-
Get all matching target instructions.
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.ConstantTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.FieldTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.HeadTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.InvokeTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.NewTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.OpcodeTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.ReturnTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.TailTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.targets.impl.ThrowTarget
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in class net.lenni0451.classtransform.transformer.impl.CModifyConstantAnnotationHandler
-
- getTimings() - Method in class net.lenni0451.classtransform.debugger.TransformerTimings
-
- getTimings() - Method in class net.lenni0451.classtransform.TransformerDebugger
-
- getTransformedClasses() - Method in class net.lenni0451.classtransform.TransformerManager
-
- getTransformerManager() - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- getTreePart(IClassProvider, String) - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
Get a tree part from a class by name.
- getValues() - Method in interface net.lenni0451.classtransform.utils.annotations.IParsedAnnotation
-
- IAnnotationHandlerPreprocessor - Interface in net.lenni0451.classtransform.transformer
-
A preprocessor for annotation handlers.
- IBytecodeTransformer - Interface in net.lenni0451.classtransform.transformer
-
A bytecode transformer like ClassFileTransformer.
- IClassProvider - Interface in net.lenni0451.classtransform.utils.tree
-
A provider for class bytecode.
- IInjectionTarget - Interface in net.lenni0451.classtransform.targets
-
The interface which is used to define a target for an injection.
- ILogger - Interface in net.lenni0451.classtransform.utils.log
-
- IN_Boolean - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Byte - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Character - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Double - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Float - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Integer - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Long - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Object - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Short - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_String - Static variable in class net.lenni0451.classtransform.utils.Types
-
- IN_Void - Static variable in class net.lenni0451.classtransform.utils.Types
-
- info(String, Object...) - Method in interface net.lenni0451.classtransform.utils.log.ILogger
-
- info(String, Object...) - Method in class net.lenni0451.classtransform.utils.log.impl.SysoutLogger
-
- info(String, Object...) - Static method in class net.lenni0451.classtransform.utils.log.Logger
-
- init() - Method in class net.lenni0451.classtransform.mappings.AMapper
-
- init() - Method in class net.lenni0451.classtransform.mappings.impl.ProguardMapper
-
- init() - Method in class net.lenni0451.classtransform.mappings.impl.RawMapper
-
- init() - Method in class net.lenni0451.classtransform.mappings.impl.SrgMapper
-
- init() - Method in class net.lenni0451.classtransform.mappings.impl.TinyV2Mapper
-
- init() - Method in class net.lenni0451.classtransform.mappings.impl.VoidMapper
-
- inject(ClassNode, MethodNode, ClassNode, MethodNode, List<AbstractInsnNode>) - Method in class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectField
-
- inject(ClassNode, MethodNode, ClassNode, MethodNode, List<AbstractInsnNode>) - Method in class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectInvoke
-
- inject(ClassNode, MethodNode, ClassNode, MethodNode, List<AbstractInsnNode>) - Method in class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectNew
-
- inject(ClassNode, MethodNode, ClassNode, MethodNode, List<AbstractInsnNode>) - Method in interface net.lenni0451.classtransform.transformer.impl.credirect.IRedirectTarget
-
Redirect the given target nodes.
- InjectionCallback - Class in net.lenni0451.classtransform
-
The callback used to cancel
CInject transformer.
- InjectionCallback(boolean) - Constructor for class net.lenni0451.classtransform.InjectionCallback
-
- InjectionCallback(boolean, Object) - Constructor for class net.lenni0451.classtransform.InjectionCallback
-
- InjectionClassLoader - Class in net.lenni0451.classtransform.utils.loader
-
Inject into classes by using a custom class loader.
- InjectionClassLoader(TransformerManager, URL...) - Constructor for class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- InjectionClassLoader(TransformerManager, ClassLoader, URL...) - Constructor for class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- InjectionInfo - Annotation Type in net.lenni0451.classtransform.annotations
-
This annotation is used to mark methods which have been added by ClassTransform.
- InnerClassGeneralHandler - Class in net.lenni0451.classtransform.transformer.impl.general
-
Remap and make transformer inner classes accessible from the transformed classes.
- InnerClassGeneralHandler() - Constructor for class net.lenni0451.classtransform.transformer.impl.general.InnerClassGeneralHandler
-
- internalName(Object) - Static method in class net.lenni0451.classtransform.utils.Types
-
Get the internal name of an object.
- intPush(int) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Create a new insn node representing the given int.
- InvalidTargetException - Exception in net.lenni0451.classtransform.exceptions
-
An exception which is thrown when the target of an injection could not be found.
- InvalidTargetException(MethodNode, ClassNode, String, Collection<String>) - Constructor for exception net.lenni0451.classtransform.exceptions.InvalidTargetException
-
- InvokeTarget - Class in net.lenni0451.classtransform.targets.impl
-
A target for method invocation instructions.
- InvokeTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.InvokeTarget
-
- IParsedAnnotation - Interface in net.lenni0451.classtransform.utils.annotations
-
An interface providing extra methods to a parsed annotation by the
AnnotationParser.
- IPostTransformer - Interface in net.lenni0451.classtransform.transformer
-
A handler for all transformed classes after they are transformed.
- IRawTransformer - Interface in net.lenni0451.classtransform.transformer
-
A transformer which has access to the parsed class node of the transformed class.
- IRedirectTarget - Interface in net.lenni0451.classtransform.transformer.impl.credirect
-
The interface for a redirect target transformer.
- is(FieldInsnNode) - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
Check if a FieldInsnNode references the same field as this declaration.
- is(MethodInsnNode) - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
Check if a MethodInsnNode references the same method as this declaration.
- isAccessLower(int, int) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Check if the given access is lower than another.
- isCancellable() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- isCancelled() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- isEmpty() - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
- isFieldMapping() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- isPrimitive(Type) - Static method in class net.lenni0451.classtransform.utils.Types
-
Check if a type is a primitive type.
- RawMapper - Class in net.lenni0451.classtransform.mappings.impl
-
A remapper that uses the given
MapRemapper for remapping.
- RawMapper(MapperConfig, MapRemapper) - Constructor for class net.lenni0451.classtransform.mappings.impl.RawMapper
-
- read() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readAll() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readBoolean() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readByte() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readConstantDynamic() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readConstantPoolEntry() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readDouble() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readFloat() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readHandle() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readInt() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readLines(File) - Method in class net.lenni0451.classtransform.mappings.AMapper
-
- readLong() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readOpcode() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readQuotedString() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readShort() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readString() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readType() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readUnquotedString() - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- readUntil(char) - Method in class net.lenni0451.classtransform.utils.parser.StringReader
-
- remap(String, String, ClassNode) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a class node from the given name to the new name.
- remap(ClassNode, MapRemapper) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a class node using a custom remapper.
- remapAndAdd(ClassNode, ClassNode, MethodNode) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a method node and add it to the target class.
- remapAndAdd(ClassNode, ClassNode, FieldNode) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a field node and add it to the target class.
- remapAndAdd(String, String, ClassNode, MethodNode) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a method node and add it to the target class.
- remapAndAdd(String, String, ClassNode, FieldNode) - Static method in class net.lenni0451.classtransform.utils.mappings.Remapper
-
Remap a field node and add it to the target class.
- remapper - Variable in class net.lenni0451.classtransform.mappings.AMapper
-
- Remapper - Class in net.lenni0451.classtransform.utils.mappings
-
Util methods to remap classes, methods and fields.
- Remapper() - Constructor for class net.lenni0451.classtransform.utils.mappings.Remapper
-
- remapTransformer - Variable in class net.lenni0451.classtransform.mappings.MapperConfig
-
- remapTransformer(boolean) - Method in class net.lenni0451.classtransform.mappings.MapperConfig
-
Remap the transformer class to match the transformed class.
- RemapType - Enum in net.lenni0451.classtransform.mappings.annotation
-
The type of the annotation field to remap.
- RemovingAnnotationHandler<T extends java.lang.annotation.Annotation> - Class in net.lenni0451.classtransform.transformer.types
-
An abstract annotation handler which handles all annotations of the given type.
- RemovingAnnotationHandler(Class<T>) - Constructor for class net.lenni0451.classtransform.transformer.types.RemovingAnnotationHandler
-
- RemovingTargetAnnotationHandler<T extends java.lang.annotation.Annotation> - Class in net.lenni0451.classtransform.transformer.types
-
An abstract annotation handler which handles all annotations of the given type.
- RemovingTargetAnnotationHandler(Class<T>, Function<T, String[]>) - Constructor for class net.lenni0451.classtransform.transformer.types.RemovingTargetAnnotationHandler
-
- renameAndCopy(MethodNode, MethodNode, ClassNode, ClassNode, String) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Rename a method and add it to the target class node.
- resolve(Object[]) - Static method in class net.lenni0451.classtransform.utils.log.Logger
-
- ReturnTarget - Class in net.lenni0451.classtransform.targets.impl
-
A target for Opcodes.RETURN instructions.
- ReturnTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.ReturnTarget
-
- returnType(Type) - Method in class net.lenni0451.classtransform.utils.Codifier
-
Set the return type of the method.
- returnType(Object) - Static method in class net.lenni0451.classtransform.utils.Types
-
Get a return type from an object.
- reverse() - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
Reverse the mappings of this remapper.
- TailTarget - Class in net.lenni0451.classtransform.targets.impl
-
A target for the tail (before last Opcodes.RETURN) of a method.
- TailTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.TailTarget
-
- ThrowTarget - Class in net.lenni0451.classtransform.targets.impl
-
A target for Opcodes.ATHROW instructions.
- ThrowTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.ThrowTarget
-
- TimedGroup - Enum in net.lenni0451.classtransform.debugger.timings
-
The timing groups a transformer can belong to.
- TimedTransformer - Class in net.lenni0451.classtransform.debugger.timings
-
The group and name of a timed transformer.
- TimedTransformer(TimedGroup, String) - Constructor for class net.lenni0451.classtransform.debugger.timings.TimedTransformer
-
- TinyV2Mapper - Class in net.lenni0451.classtransform.mappings.impl
-
A remapper that uses tiny v2 mappings for remapping.
- TinyV2Mapper(MapperConfig, File, String, String) - Constructor for class net.lenni0451.classtransform.mappings.impl.TinyV2Mapper
-
- toBytes(ClassNode, ClassTree, IClassProvider) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the bytecode from a class node
- toStacklessBytes(ClassNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the bytecode from a class node without calculating stack map frames
- toString() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.AnnotationHandler
-
Handle all annotations in the transformer class.
- transform(String, byte[], boolean) - Method in interface net.lenni0451.classtransform.transformer.IBytecodeTransformer
-
Transform the raw bytecode of all loaded classes.
- transform(CASM, TransformerManager, ClassNode, ClassNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.CASMAnnotationHandler
-
- transform(CInject, TransformerManager, ClassNode, ClassNode, MethodNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.CInjectAnnotationHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.CInlineAnnotationHandler
-
- transform(CModifyConstant, TransformerManager, ClassNode, ClassNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.CModifyConstantAnnotationHandler
-
- transform(COverride, TransformerManager, ClassNode, ClassNode, MethodNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.COverrideAnnotationHandler
-
- transform(CRedirect, TransformerManager, ClassNode, ClassNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.CRedirectAnnotationHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.CShadowAnnotationHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.CUpgradeAnnotationHandler
-
- transform(CWrapCatch, TransformerManager, ClassNode, ClassNode, MethodNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.impl.CWrapCatchAnnotationHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.general.InnerClassGeneralHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.general.MemberCopyGeneralHandler
-
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.impl.general.SyntheticMethodGeneralHandler
-
- transform(String, byte[]) - Method in interface net.lenni0451.classtransform.transformer.IPostTransformer
-
Handle the name and bytecode of all transformed classes.
- transform(TransformerManager, ClassNode) - Method in interface net.lenni0451.classtransform.transformer.IRawTransformer
-
Transform the target class node.
- transform(TransformerManager, ClassNode, ClassNode) - Method in class net.lenni0451.classtransform.transformer.types.RemovingAnnotationHandler
-
- transform(T, TransformerManager, ClassNode, ClassNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.types.RemovingAnnotationHandler
-
Handle a transformer method of the transformer with the given annotation.
- transform(T, TransformerManager, ClassNode, ClassNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.types.RemovingTargetAnnotationHandler
-
- transform(T, TransformerManager, ClassNode, ClassNode, MethodNode, MethodNode) - Method in class net.lenni0451.classtransform.transformer.types.RemovingTargetAnnotationHandler
-
Handle a transformer method of the transformer with the given annotation.
- transform(String, byte[]) - Method in class net.lenni0451.classtransform.TransformerManager
-
Transform the bytecode of the given class.
- transform(String, byte[], boolean) - Method in class net.lenni0451.classtransform.TransformerManager
-
Transform the bytecode of the given class.
- transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class net.lenni0451.classtransform.TransformerManager
-
Support method for hooking an instrumentation instance.
- TransformerDebugger - Class in net.lenni0451.classtransform
-
- TransformerException - Exception in net.lenni0451.classtransform.exceptions
-
An exception which is thrown when there is a general error during the transformation.
- TransformerException(MethodNode, ClassNode, String) - Constructor for exception net.lenni0451.classtransform.exceptions.TransformerException
-
- TransformerManager - Class in net.lenni0451.classtransform
-
The TransformerManager handles all things needed for class transformation.
- TransformerManager(IClassProvider) - Constructor for class net.lenni0451.classtransform.TransformerManager
-
- TransformerManager(IClassProvider, AMapper) - Constructor for class net.lenni0451.classtransform.TransformerManager
-
- TransformerTimings - Class in net.lenni0451.classtransform.debugger
-
A timer to measure the time it takes to transform a class.
- TransformerTimings() - Constructor for class net.lenni0451.classtransform.debugger.TransformerTimings
-
- TreeClassWriter - Class in net.lenni0451.classtransform.utils.tree
-
A class writer implementation using the
ClassTree for stack frame calculation.
- TreeClassWriter(ClassTree, IClassProvider) - Constructor for class net.lenni0451.classtransform.utils.tree.TreeClassWriter
-
- type(Object) - Static method in class net.lenni0451.classtransform.utils.Types
-
Get a type from an object.
- typeDescriptor(Object) - Static method in class net.lenni0451.classtransform.utils.Types
-
Get the descriptor of an object.
- Types - Class in net.lenni0451.classtransform.utils
-
A wrapper for the Type class.
- Types() - Constructor for class net.lenni0451.classtransform.utils.Types
-
- valueOf(String) - Static method in enum net.lenni0451.classtransform.annotations.CTarget.Shift
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.annotations.injection.CASM.Shift
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.debugger.timings.TimedGroup
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.mappings.annotation.FillType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.mappings.annotation.RemapType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.transformer.HandlerPosition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.utils.FailStrategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.lenni0451.classtransform.utils.loader.EnumLoaderPriority
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.lenni0451.classtransform.annotations.CTarget.Shift
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.annotations.injection.CASM.Shift
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.debugger.timings.TimedGroup
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.mappings.annotation.FillType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.mappings.annotation.RemapType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.transformer.HandlerPosition
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.utils.FailStrategy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum net.lenni0451.classtransform.utils.loader.EnumLoaderPriority
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VoidMapper - Class in net.lenni0451.classtransform.mappings.impl
-
- VoidMapper() - Constructor for class net.lenni0451.classtransform.mappings.impl.VoidMapper
-