Package net.bytebuddy.agent.builder
Interface AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher
- All Known Implementing Classes:
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingDirectInvocation
,AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher.UsingMethodHandle
- Enclosing class:
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender
protected static interface AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.Dispatcher
A dispatcher for a lambda expression's implementation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
An invocation that is using a direct call to the target method.static class
An invocation that is using an exact invocation of a method handle. -
Method Summary
Modifier and TypeMethodDescriptionInitializes this invocation.invoke
(MethodDescription methodDescription) Invokes this invocation.
-
Method Details
-
initialize
StackManipulation initialize()Initializes this invocation.- Returns:
- A stack manipulation that represents the initialization.
-
invoke
Invokes this invocation.- Parameters:
methodDescription
- A description of the invoked method.- Returns:
- A stack manipulation that represents the invocation.
-