Uses of Class
net.bytebuddy.asm.Advice.WithCustomMapping
Packages that use Advice.WithCustomMapping
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of Advice.WithCustomMapping in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as Advice.WithCustomMappingModifier and TypeFieldDescriptionprivate final Advice.WithCustomMappingAgentBuilder.Transformer.ForAdvice.adviceThe advice to use.Methods in net.bytebuddy.agent.builder with parameters of type Advice.WithCustomMappingModifier and TypeMethodDescriptionprotected AgentBuilder.Transformer.ForAdviceAgentBuilder.Transformer.ForAdvice.make(Advice.WithCustomMapping advice, Advice.ExceptionHandler exceptionHandler, Assigner assigner, ClassFileLocator classFileLocator, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.LocationStrategy locationStrategy, List<AgentBuilder.Transformer.ForAdvice.Entry> entries) Creates an advice transformer.protected AdviceAgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice.resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator) protected AdviceAgentBuilder.Transformer.ForAdvice.Entry.ForUnifiedAdvice.resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator) protected abstract AdviceAgentBuilder.Transformer.ForAdvice.Entry.resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator) Resolves the advice for this entry.Constructors in net.bytebuddy.agent.builder with parameters of type Advice.WithCustomMappingModifierConstructorDescriptionForAdvice(Advice.WithCustomMapping advice) Creates a new advice transformer which applies the given advice.protectedForAdvice(Advice.WithCustomMapping advice, Advice.ExceptionHandler exceptionHandler, Assigner assigner, ClassFileLocator classFileLocator, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.LocationStrategy locationStrategy, List<AgentBuilder.Transformer.ForAdvice.Entry> entries) Creates a new advice transformer. -
Uses of Advice.WithCustomMapping in net.bytebuddy.asm
Methods in net.bytebuddy.asm that return Advice.WithCustomMappingModifier and TypeMethodDescription<T extends Annotation>
Advice.WithCustomMappingBinds the supplied annotation to the supplied type constant.<T extends Annotation>
Advice.WithCustomMappingBinds the supplied annotation to the supplied enumeration constant.<T extends Annotation>
Advice.WithCustomMappingBinds the supplied annotation to a type constant of the supplied value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, Constructor<?> constructor, int index) Binds the supplied annotation to the supplied parameter's argument.<T extends Annotation>
Advice.WithCustomMappingBinds the supplied annotation to the value of the supplied field.<T extends Annotation>
Advice.WithCustomMappingBinds the supplied annotation to the supplied parameter's argument.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, Advice.OffsetMapping offsetMapping) Binds the supplied annotation to the annotation's property of the specified name.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, EnumerationDescription value) Binds the supplied annotation to the supplied enumeration constant.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, FieldDescription fieldDescription) Binds the supplied annotation to the value of the supplied field.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, ParameterDescription parameterDescription) Binds the supplied annotation to the supplied parameter's argument.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, TypeDescription value) Binds the supplied annotation to the supplied type constant.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, StackManipulation stackManipulation, Type targetType) Binds the supplied annotation to the annotation's property of the specified name.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, StackManipulation stackManipulation, TypeDescription.Generic targetType) Binds the supplied annotation to the annotation's property of the specified name.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, ConstantValue constant) Binds the supplied annotation to the given Java constant.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, JavaConstant constant) Binds the supplied annotation to the given Java constant.Advice.WithCustomMapping.bind(Advice.OffsetMapping.Factory<?> offsetMapping) Binds an annotation to a dynamically computed value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, Constructor<?> bootstrapMethod, Object... constant) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, Constructor<?> bootstrapMethod, List<?> constants) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, Method bootstrapMethod, Object... constant) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, Method bootstrapMethod, List<?> constants) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, Object... constant) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindDynamic(Class<T> type, MethodDescription.InDefinedShape bootstrapMethod, List<?> constants) Binds the supplied annotation to a dynamically bootstrapped value.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, Constructor<?> constructor, Class<?> functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, Constructor<?> constructor, Class<?> functionalInterface, MethodGraph.Compiler methodGraphCompiler) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, Method method, Class<?> functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, Method method, Class<?> functionalInterface, MethodGraph.Compiler methodGraphCompiler) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface, MethodGraph.Compiler methodGraphCompiler) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindProperty(Class<T> type, String property) Binds the supplied annotation to the annotation's property of the specified name.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindSerialized(Class<T> type, Serializable value) Binds the supplied annotation to the supplied fixed value.<T extends Annotation,S extends Serializable>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindSerialized(Class<T> type, S value, Class<? super S> targetType) Binds the supplied annotation to the supplied fixed value.Advice.WithCustomMapping.bootstrap(Constructor<?> constructor) Defines the supplied constructor as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.bootstrap(Constructor<?> constructor, Advice.BootstrapArgumentResolver.Factory resolverFactory) Defines the supplied constructor as a dynamic invocation bootstrap target for delegating advice methods.Defines the supplied method as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.bootstrap(Method method, Advice.BootstrapArgumentResolver.Factory resolver) Defines the supplied method as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.bootstrap(MethodDescription.InDefinedShape bootstrap) Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.bootstrap(MethodDescription.InDefinedShape bootstrap, Advice.BootstrapArgumentResolver.Factory resolverFactory) Defines the supplied method or constructor as a dynamic invocation bootstrap target for delegating advice methods.Advice.WithCustomMapping.with(Advice.PostProcessor.Factory postProcessorFactory) Adds the supplied post processor factory for advice method post processing.static Advice.WithCustomMappingAdvice.withCustomMapping()Allows for the configuration of custom annotations that are then bound to a dynamically computed, constant value.