Uses of Interface
net.bytebuddy.asm.Advice.Delegator
Packages that use Advice.Delegator
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
-
Uses of Advice.Delegator in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement Advice.DelegatorModifier and TypeClassDescriptionstatic classInvokes an advice method using a dynamic method call.static enumInvokes an advice method using a static method call.Fields in net.bytebuddy.asm declared as Advice.DelegatorModifier and TypeFieldDescriptionprotected final Advice.DelegatorAdvice.Dispatcher.Delegating.delegatorThe delegator to use.private final Advice.DelegatorAdvice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.delegatorThe delegator to use.protected final Advice.DelegatorAdvice.Dispatcher.Delegating.Resolved.delegatorThe delegator to use.private final Advice.DelegatorAdvice.WithCustomMapping.delegatorThe delegator to use.Methods in net.bytebuddy.asm that return Advice.DelegatorModifier and TypeMethodDescriptionprotected static Advice.DelegatorAdvice.Delegator.ForDynamicInvocation.of(MethodDescription.InDefinedShape bootstrapMethod) Creates a new dynamic invocation delegator.Methods in net.bytebuddy.asm with parameters of type Advice.DelegatorModifier and TypeMethodDescriptionprivate static Advice.Dispatcher.UnresolvedAdvice.locate(Class<? extends Annotation> type, MethodDescription.InDefinedShape property, Advice.Dispatcher.Unresolved dispatcher, MethodDescription.InDefinedShape methodDescription, Advice.Delegator delegator) Locates a dispatcher for the method if available.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 AdviceAdvice.to(TypeDescription advice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator delegator) 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 delegator) Creates a new advice.Constructors in net.bytebuddy.asm with parameters of type Advice.DelegatorModifierConstructorDescriptionprotectedAdviceMethodWriter(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedDelegating(MethodDescription.InDefinedShape adviceMethod, Advice.Delegator delegator) Creates a new delegating advice dispatcher.protectedForMethodEnter(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.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.protectedForMethodExit(MethodDescription.InDefinedShape adviceMethod, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.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.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, Advice.Delegator delegator) Creates a new resolved version of a dispatcher.protectedWithCustomMapping(Advice.PostProcessor.Factory postProcessorFactory, Map<Class<? extends Annotation>, Advice.OffsetMapping.Factory<?>> offsetMappings, Advice.Delegator delegator) 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.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.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.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.