- 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
You get direct access to the MethodNode of the target method
- CASMTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CASMTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CASMTransformer
-
- castReturnValue() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- CInject - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Inject into a method at various targets
You can cancel the original code flow and return own values if needed
- CInjectTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CInjectTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CInjectTransformer
-
- ClassBuilder<P> - Class in net.lenni0451.classtransform.utils.builder
-
- ClassBuilder(String) - Constructor for class net.lenni0451.classtransform.utils.builder.ClassBuilder
-
- ClassBuilder(P, Consumer<ClassNode>, String) - Constructor for class net.lenni0451.classtransform.utils.builder.ClassBuilder
-
- ClassDefiner<T> - Class in net.lenni0451.classtransform.utils.annotations
-
- ClassTree - Class in net.lenni0451.classtransform.utils.tree
-
- ClassTree(ClassNode) - Constructor for class net.lenni0451.classtransform.utils.tree.ClassTree
-
- cloneClass(ClassNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Clone a ClassNode
- cloneMethod(MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Clone a MethodNode
- CModifyConstant - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Modify a constant value in a method
- CModifyConstantTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CModifyConstantTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CModifyConstantTransformer
-
- Codifier - Class in net.lenni0451.classtransform.utils
-
- combiToRegex(String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Convert a field or method name matching name and descriptor to a regex pattern
Use * for wildcard
e.g.
- compareType(Type, Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare a single Type with a target Type
This supports Object instead of direct types
- compareTypes(Type[], Type[]) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare an array of Type with a target array of Type
This supports Object instead of direct types
- compareTypes(Type[], Type[], boolean, Type...) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Compare an array of Type with a target array of Type
This supports Object instead of direct types
- ConstantTarget - Class in net.lenni0451.classtransform.targets.impl
-
Valid constants:
- null
- int
- long
- float
- double
- string
- type
- ConstantTarget() - Constructor for class net.lenni0451.classtransform.targets.impl.ConstantTarget
-
- copy(MapRemapper) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
- copyClass(IClassProvider, String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- copyResource(ClassLoader, String) - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- COverride - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Override a method in a class
The method with this annotation needs the same parameters and return type as the original method
The access of the method has to be higher or equal to the original method
If the original method is static, the method with this annotation has to be static as well
- COverrideTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- COverrideTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.COverrideTransformer
-
- 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 specific method/field call
- CRedirectGetField - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
- CRedirectGetField() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectGetField
-
- CRedirectInvoke - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
- CRedirectInvoke() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectInvoke
-
- CRedirectNew - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
- CRedirectNew() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectNew
-
- CRedirectPutField - Class in net.lenni0451.classtransform.transformer.impl.credirect
-
- CRedirectPutField() - Constructor for class net.lenni0451.classtransform.transformer.impl.credirect.CRedirectPutField
-
- CRedirectTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CRedirectTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CRedirectTransformer
-
- CShadow - Annotation Type in net.lenni0451.classtransform.annotations
-
Create a shadow copy of a method/field/constructor to directly access the original after injection
- CShadowTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CShadowTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CShadowTransformer
-
- CSlice - Annotation Type in net.lenni0451.classtransform.annotations
-
Specify a slice of bytecode to make choosing the target easier
- CTarget - Annotation Type in net.lenni0451.classtransform.annotations
-
Specify the target of the class transformation
- CTarget.Shift - Enum in net.lenni0451.classtransform.annotations
-
- CTransformer - Annotation Type in net.lenni0451.classtransform.annotations
-
Mark a class as a transformer class
If your transformer does not have this annotation, an IllegalStateException will be thrown
- CUpgrade - Annotation Type in net.lenni0451.classtransform.annotations
-
Upgrade the version of a class to use never java features
This does not upgrade any code, it only changes the version of the class
- CUpgradeTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CUpgradeTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CUpgradeTransformer
-
- CWrapCatch - Annotation Type in net.lenni0451.classtransform.annotations.injection
-
Wrap an entire method or a single instruction in a try-catch block
The method with this annotation must have the same return type as the original method
Only one parameter is allowed, and it must be of type Throwable
The parameter also declares which exception should be caught
- CWrapCatchTransformer - Class in net.lenni0451.classtransform.transformer.impl
-
- CWrapCatchTransformer() - Constructor for class net.lenni0451.classtransform.transformer.impl.CWrapCatchTransformer
-
- generateClassName(String) - Static method in class net.lenni0451.classtransform.utils.annotations.ClassDefiner
-
- get() - Method in class net.lenni0451.classtransform.utils.builder.AnnotationBuilder
-
- get() - Method in class net.lenni0451.classtransform.utils.builder.ClassBuilder
-
- get() - Method in class net.lenni0451.classtransform.utils.builder.FieldBuilder
-
- get() - Method in class net.lenni0451.classtransform.utils.builder.MethodBuilder
-
- 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
-
Only needed when registering transformer with wildcard
Class names need to be with '.' instead of '/'
e.g. package.name
- getAnnotation(Class<T>, ClassNode, IClassProvider) - Method in class net.lenni0451.classtransform.transformer.ATransformer
-
- getAnnotation(Class<T>, FieldNode, IClassProvider) - Method in class net.lenni0451.classtransform.transformer.ATransformer
-
- getAnnotation(Class<T>, MethodNode, IClassProvider) - Method in class net.lenni0451.classtransform.transformer.ATransformer
-
- getAnnotation(Class<T>, List<AnnotationNode>, IClassProvider) - Method in class net.lenni0451.classtransform.transformer.ATransformer
-
- getCast(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the code to cast an Object to any Type
Converts primitive wrapper to their primitive types (e.g.
- 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
Class name is with '.' instead of '/'
- 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
-
- getDesc() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getField(ClassNode, String, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a FieldNode from a ClassNode using the name
- getFieldsFromCombi(ClassNode, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a List of FieldNodes from a ClassNode using the combined name and descriptor
Use * for wildcard
e.g.
- getFirstConstructorInstruction(String, MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the first instruction of a constructor
- getFreeVarIndex(MethodNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the last empty local variable index
- getFromIndex() - Method in enum net.lenni0451.classtransform.mappings.impl.TinyV2Mapper.Type
-
- getHotswapClass(String) - Method in class net.lenni0451.classtransform.utils.HotswapClassLoader
-
- getLoadOpcode(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the needed load opcode for a given Type
- getLoadStoreOpcodes(String, String, int) - Method in interface net.lenni0451.classtransform.transformer.impl.credirect.IRedirectTarget
-
- 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 MethodNode from a ClassNode using the name and descriptor
- getMethodsFromCombi(ClassNode, String) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a List of MethodNodes from a ClassNode using the combined name and descriptor
Use * for wildcard
e.g.
- getModifiers() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getName() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getName() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getNode() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getNumber(AbstractInsnNode) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get a Number from an AbstractInsnNode if it represents a Number
- getOwner() - Method in class net.lenni0451.classtransform.utils.MemberDeclaration
-
- getParsedSuperClasses(IClassProvider) - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getPrimitiveToObject(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the code to wrap a primitive to their wrapper type (e.g. int to Integer)
- getRemapper() - Method in class net.lenni0451.classtransform.mappings.AMapper
-
- 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 a given Type
- getReturnValue() - Method in class net.lenni0451.classtransform.InjectionCallback
-
- getShift(CTarget) - Method in interface net.lenni0451.classtransform.targets.IInjectionTarget
-
- 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
-
- getStartingMappings(String...) - Method in class net.lenni0451.classtransform.utils.mappings.MapRemapper
-
- getStoreOpcode(Type) - Static method in class net.lenni0451.classtransform.utils.ASMUtils
-
Get the needed store opcode for a given Type
- getSuperClasses() - Method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getTargets(Map<String, IInjectionTarget>, MethodNode, CTarget, CSlice) - Method in interface net.lenni0451.classtransform.targets.IInjectionTarget
-
- 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.CModifyConstantTransformer
-
- getToIndex() - Method in enum net.lenni0451.classtransform.mappings.impl.TinyV2Mapper.Type
-
- getTransformerManager() - Method in class net.lenni0451.classtransform.utils.loader.InjectionClassLoader
-
- getTreePart(IClassProvider, String) - Static method in class net.lenni0451.classtransform.utils.tree.ClassTree
-
- getValues() - Method in interface net.lenni0451.classtransform.utils.annotations.IParsedAnnotation
-
- 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.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.mappings.impl.TinyV2Mapper.Type
-
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.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.mappings.impl.TinyV2Mapper.Type
-
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
-