Package net.bytebuddy.asm
Interface Advice.Dispatcher.Resolved
-
- All Superinterfaces:
Advice.Dispatcher
- All Known Subinterfaces:
Advice.Dispatcher.Resolved.ForMethodEnter
,Advice.Dispatcher.Resolved.ForMethodExit
- All Known Implementing Classes:
Advice.Dispatcher.Delegating.Resolved
,Advice.Dispatcher.Delegating.Resolved.ForMethodEnter
,Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType
,Advice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithRetainedEnterType
,Advice.Dispatcher.Delegating.Resolved.ForMethodExit
,Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler
,Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler
,Advice.Dispatcher.Inactive
,Advice.Dispatcher.Inlining.Resolved
,Advice.Dispatcher.Inlining.Resolved.ForMethodEnter
,Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType
,Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithRetainedEnterType
,Advice.Dispatcher.Inlining.Resolved.ForMethodExit
,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler
,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
,Advice.Dispatcher.Resolved.AbstractBase
- Enclosing interface:
- Advice.Dispatcher
public static interface Advice.Dispatcher.Resolved extends Advice.Dispatcher
Represents a resolved dispatcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Advice.Dispatcher.Resolved.AbstractBase
An abstract base implementation of aAdvice.Dispatcher.Resolved
dispatcher.static interface
Advice.Dispatcher.Resolved.ForMethodEnter
Represents a resolved dispatcher for entering a method.static interface
Advice.Dispatcher.Resolved.ForMethodExit
Represents a resolved dispatcher for exiting a method.-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.Dispatcher
Advice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.RelocationHandler, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.Unresolved
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.asm.Advice.Dispatcher
IGNORE_ANNOTATION, IGNORE_METHOD
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Advice.Dispatcher.Bound
bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)
Binds this dispatcher for resolution to a specific method.-
Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
getAdviceType, isAlive
-
-
-
-
Method Detail
-
bind
Advice.Dispatcher.Bound bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation)
Binds this dispatcher for resolution to a specific method.- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.methodVisitor
- The method visitor for writing the instrumented method.implementationContext
- The implementation context to use.assigner
- The assigner to use.argumentHandler
- A handler for accessing values on the local variable array.methodSizeHandler
- A handler for computing the method size requirements.stackMapFrameHandler
- A handler for translating and injecting stack map frames.exceptionHandler
- The stack manipulation to apply within a suppression handler.relocation
- A relocation to use with a relocation handler.- Returns:
- A dispatcher that is bound to the instrumented method.
-
-