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.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.ForMethodExit
,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler
,Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler
- 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 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.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.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler)
Binds this dispatcher for resolution to a specific method.-
Methods inherited from interface net.bytebuddy.asm.Advice.Dispatcher
isAlive
-
-
-
-
Method Detail
-
bind
Advice.Dispatcher.Bound bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler)
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.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.- Returns:
- A dispatcher that is bound to the instrumented method.
-
-