Uses of Interface
net.bytebuddy.asm.Advice.OffsetMapping.Factory
-
Packages that use Advice.OffsetMapping.Factory Package Description net.bytebuddy.asm 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.Factory Modifier and Type Class Description static classAdvice.OffsetMapping.Factory.Illegal<T extends java.lang.annotation.Annotation>A factory for an annotation whose use is not permitted.static classAdvice.OffsetMapping.Factory.Simple<T extends java.lang.annotation.Annotation>A simple factory that binds a constant offset mapping.protected static classAdvice.OffsetMapping.ForAllArguments.FactoryA factory for an offset mapping that maps all arguments values of the instrumented method.static classAdvice.OffsetMapping.ForArgument.Resolved.Factory<T extends java.lang.annotation.Annotation>A factory for a parameter argument of the instrumented method.protected static classAdvice.OffsetMapping.ForArgument.Unresolved.FactoryA factory for a mapping of a parameter of the instrumented method.protected static classAdvice.OffsetMapping.ForDynamicConstant.FactoryA factory for creating an offset mapping for a dynamic constant.protected static classAdvice.OffsetMapping.ForEnterValue.FactoryA factory for creating aAdvice.OffsetMapping.ForEnterValueoffset mapping.protected static classAdvice.OffsetMapping.ForExitValue.FactoryA factory for creating aAdvice.OffsetMapping.ForExitValueoffset mapping.static classAdvice.OffsetMapping.ForField.Resolved.Factory<T extends java.lang.annotation.Annotation>A factory that binds a field.protected static classAdvice.OffsetMapping.ForField.Unresolved.FactoryA factory for aAdvice.OffsetMapping.ForField.Unresolvedoffset mapping.static classAdvice.OffsetMapping.ForFieldHandle.Resolved.Factory<T extends java.lang.annotation.Annotation>A factory that binds a field handle.protected static classAdvice.OffsetMapping.ForFieldHandle.Unresolved.ReaderFactoryA factory for aAdvice.OffsetMapping.ForFieldHandle.Unresolvedoffset mapping representing a getter.protected static classAdvice.OffsetMapping.ForFieldHandle.Unresolved.WriterFactoryA factory for aAdvice.OffsetMapping.ForFieldHandle.Unresolvedoffset mapping representing a setter.protected static classAdvice.OffsetMapping.ForHandle.FactoryA factory for creating an offset mapping for a constant pool-stored method handle.protected static classAdvice.OffsetMapping.ForLocalValue.FactoryA factory for an offset mapping for a local variable that is declared by the advice methods viaAdvice.Local.protected static classAdvice.OffsetMapping.ForOrigin.FactoryA factory for a method origin.protected static classAdvice.OffsetMapping.ForReturnValue.FactoryA factory for creating aAdvice.OffsetMapping.ForReturnValueoffset mapping.protected static classAdvice.OffsetMapping.ForSelfCallHandle.FactoryA factory for a self call method handle.static classAdvice.OffsetMapping.ForSerializedValue.Factory<T extends java.lang.annotation.Annotation>A factory for loading a deserialized value.static classAdvice.OffsetMapping.ForStackManipulation.Factory<T extends java.lang.annotation.Annotation>A factory that binds a stack manipulation.static classAdvice.OffsetMapping.ForStackManipulation.OfAnnotationProperty<T extends java.lang.annotation.Annotation>A factory for binding an annotation's property.static classAdvice.OffsetMapping.ForStackManipulation.OfDefaultValue<T extends java.lang.annotation.Annotation>A factory for binding the annotated parameter's default value.static classAdvice.OffsetMapping.ForStackManipulation.OfDynamicInvocation<T extends java.lang.annotation.Annotation>Uses dynamic method invocation for binding an annotated parameter to a value.static classAdvice.OffsetMapping.ForStubValueAn 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 classAdvice.OffsetMapping.ForThisReference.FactoryA factory for creating aAdvice.OffsetMapping.ForThisReferenceoffset mapping.protected static classAdvice.OffsetMapping.ForThrowable.FactoryA factory for accessing an exception that was thrown by the instrumented method.protected static classAdvice.OffsetMapping.ForUnusedValue.FactoryA factory for an offset mapping for an unused value.Fields in net.bytebuddy.asm with type parameters of type Advice.OffsetMapping.Factory Modifier and Type Field Description private java.util.Map<java.lang.Class<? extends java.lang.annotation.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.Factory Modifier and Type Method Description protected 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 java.lang.annotation.Annotation,U extends java.io.Serializable>
Advice.OffsetMapping.Factory<S>Advice.OffsetMapping.ForSerializedValue.Factory. of(java.lang.Class<S> annotationType, U target, java.lang.Class<? super U> targetType)Creates a factory for an offset mapping that loads the provided value.static <S extends java.lang.annotation.Annotation>
Advice.OffsetMapping.Factory<S>Advice.OffsetMapping.ForStackManipulation.Factory. of(java.lang.Class<S> annotationType, java.lang.Object value)Creates a binding for a fixedString, a primitive value or a method handle or type.static <S extends java.lang.annotation.Annotation>
Advice.OffsetMapping.Factory<S>Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty. of(java.lang.Class<S> annotationType, java.lang.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.Factory Modifier and Type Method Description Advice.WithCustomMappingAdvice.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.Factory Modifier and Type Method Description Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Delegating. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Inactive. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Inlining. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnterAdvice.Dispatcher.Unresolved. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Delegating. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Inactive. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Inlining. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Unresolved. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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, java.util.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, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.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, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader 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, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader 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, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory, AsmClassReader.Factory classReaderFactory)Creates a new advice.protected static AdviceAdvice. to(TypeDescription enterAdvice, TypeDescription exitAdvice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory, AsmClassReader.Factory classReaderFactory)Creates a new advice.Constructor parameters in net.bytebuddy.asm with type arguments of type Advice.OffsetMapping.Factory Constructor Description AbstractBase(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.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.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, Advice.Delegator delegator)Creates a new resolved dispatcher for implementing method enter advice.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)Creates a new resolved dispatcher for implementing method enter advice.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, Advice.Delegator delegator)Creates a new resolved dispatcher for implementing method exit advice.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)Creates a new resolved dispatcher for implementing method exit advice.Resolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator)Creates a new resolved version of a dispatcher.Resolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader)Creates a new resolved version of a dispatcher.WithCustomMapping(Advice.PostProcessor.Factory postProcessorFactory, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,Advice.OffsetMapping.Factory<?>> offsetMappings, Advice.Delegator.Factory delegatorFactory, AsmClassReader.Factory classReaderFactory)Creates a new custom mapping builder step with the given custom mappings.WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.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.WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.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.WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType, TypeDescription throwable)Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.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.WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.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.WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type.
-