Uses of Interface
net.bytebuddy.asm.Advice.OffsetMapping.Factory
Packages that use Advice.OffsetMapping.Factory
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of Advice.OffsetMapping.Factory in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement Advice.OffsetMapping.FactoryModifier and TypeClassDescriptionstatic classAdvice.OffsetMapping.Factory.Illegal<T extends Annotation>A factory for an annotation whose use is not permitted.static classAdvice.OffsetMapping.Factory.Simple<T extends Annotation>A simple factory that binds a constant offset mapping.protected static enumA factory for an offset mapping that maps all arguments values of the instrumented method.static classA factory for a parameter argument of the instrumented method.protected static enumA factory for a mapping of a parameter of the instrumented method.protected static classA factory for creating aAdvice.OffsetMapping.ForEnterValueoffset mapping.protected static classA factory for creating aAdvice.OffsetMapping.ForExitValueoffset mapping.static classA factory that binds a field.protected static enumA factory for aAdvice.OffsetMapping.ForField.Unresolvedoffset mapping.static classA factory that binds a field handle.protected static enumA factory for aAdvice.OffsetMapping.ForFieldHandle.Unresolvedoffset mapping representing a getter.protected static enumA factory for aAdvice.OffsetMapping.ForFieldHandle.Unresolvedoffset mapping representing a setter.protected static classA factory for an offset mapping for a local variable that is declared by the advice methods viaAdvice.Local.protected static enumA factory for a method origin.protected static enumA factory for creating aAdvice.OffsetMapping.ForReturnValueoffset mapping.protected static enumA factory for a self call method handle.static classA factory for loading a deserialized value.static classA factory that binds a stack manipulation.static classA factory for binding an annotation's property.static classA factory for binding the annotated parameter's default value.static classUses dynamic method invocation for binding an annotated parameter to a value.static enumAn offset mapping for a parameter where assignments are fully ignored and that is assigned a boxed version of the instrumented method's return value ornullif the return type is not primitive orvoid.protected static enumA factory for creating aAdvice.OffsetMapping.ForThisReferenceoffset mapping.protected static enumA factory for accessing an exception that was thrown by the instrumented method.protected static enumA factory for an offset mapping for an unused value.Fields in net.bytebuddy.asm with type parameters of type Advice.OffsetMapping.FactoryModifier and TypeFieldDescriptionprivate final Map<Class<? extends Annotation>, Advice.OffsetMapping.Factory<?>> Advice.WithCustomMapping.offsetMappingsA map containing dynamically computed constant pool values that are mapped by their triggering annotation type.Methods in net.bytebuddy.asm that return Advice.OffsetMapping.FactoryModifier and TypeMethodDescriptionprotected static Advice.OffsetMapping.Factory<Advice.Enter> Advice.OffsetMapping.ForEnterValue.Factory.of(TypeDefinition typeDefinition) Creates a new factory for creating aAdvice.OffsetMapping.ForEnterValueoffset mapping.protected static Advice.OffsetMapping.Factory<Advice.Exit> Advice.OffsetMapping.ForExitValue.Factory.of(TypeDefinition typeDefinition) Creates a new factory for creating aAdvice.OffsetMapping.ForExitValueoffset mapping.static <S extends Annotation,U extends Serializable>
Advice.OffsetMapping.Factory<S> Advice.OffsetMapping.ForSerializedValue.Factory.of(Class<S> annotationType, U target, Class<? super U> targetType) Creates a factory for an offset mapping that loads the provided value.static <S extends Annotation>
Advice.OffsetMapping.Factory<S> Creates a binding for a fixedString, a primitive value or a method handle or type.static <S extends Annotation>
Advice.OffsetMapping.Factory<S> Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty.of(Class<S> annotationType, String property) Creates a factory for an offset mapping that binds an annotation property.protected static Advice.OffsetMapping.Factory<?> Advice.OffsetMapping.ForThrowable.Factory.of(MethodDescription.InDefinedShape adviceMethod) Resolves an appropriate offset mapping factory for theAdvice.Thrownparameter annotation.Methods in net.bytebuddy.asm with parameters of type Advice.OffsetMapping.FactoryModifier and TypeMethodDescriptionAdvice.WithCustomMapping.bind(Advice.OffsetMapping.Factory<?> offsetMapping) Binds an annotation to a dynamically computed value.Method parameters in net.bytebuddy.asm with type arguments of type Advice.OffsetMapping.FactoryModifier and TypeMethodDescriptionAdvice.Dispatcher.Delegating.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Inactive.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Inlining.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Unresolved.asMethodEnter(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Delegating.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Inactive.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Inlining.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Unresolved.asMethodExit(List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory) Resolves this dispatcher as a dispatcher for exiting a method.protected static Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, boolean methodExit) Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Advice.Delegator delegator, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType) Resolves exit advice that handles exceptions depending on the specification of the exit advice.protected static Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, org.objectweb.asm.ClassReader classReader, boolean methodExit) Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, TypeDefinition enterType) Resolves exit advice that handles exceptions depending on the specification of the exit advice.protected static AdviceAdvice.to(TypeDescription advice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory) Creates a new advice.protected static AdviceAdvice.to(TypeDescription enterAdvice, TypeDescription exitAdvice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory) Creates a new advice.Constructor parameters in net.bytebuddy.asm with type arguments of type Advice.OffsetMapping.FactoryModifierConstructorDescriptionprotectedAbstractBase(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.OffsetMapping.Factory.AdviceType adviceType) Creates a new resolved version of a dispatcher.protectedForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice.protectedForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, org.objectweb.asm.ClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice.protectedForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice.protectedForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator) Creates a new resolved version of a dispatcher.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, org.objectweb.asm.ClassReader classReader) Creates a new resolved version of a dispatcher.protectedWithCustomMapping(Advice.PostProcessor.Factory postProcessorFactory, Map<Class<? extends Annotation>, Advice.OffsetMapping.Factory<?>> offsetMappings, Advice.Delegator.Factory delegatorFactory) Creates a new custom mapping builder step with the given custom mappings.protectedWithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.protectedWithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, org.objectweb.asm.ClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, TypeDescription throwable, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, TypeDefinition enterType, TypeDescription throwable) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protectedWithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.protectedWithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, org.objectweb.asm.ClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.protectedWithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.protectedWithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, org.objectweb.asm.ClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.