Class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation
All Implemented Interfaces:
InstrumentedType.Prepareable, Implementation
Enclosing class:
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory

@Enhance protected static class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation extends Object implements Implementation
Implements a lambda expression's functional method.
  • Field Details

    • targetType

      private final TypeDescription targetType
      The type that defines the lambda expression.
    • targetMethod

      private final JavaConstant.MethodHandle targetMethod
      The handle of the target method of the lambda expression.
    • specializedLambdaMethod

      private final JavaConstant.MethodType specializedLambdaMethod
      The specialized type of the lambda method.
  • Constructor Details

    • LambdaMethodImplementation

      protected LambdaMethodImplementation(TypeDescription targetType, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedLambdaMethod)
      Creates a implementation of a lambda expression's functional method.
      Parameters:
      targetType - The type that defines the lambda expression.
      targetMethod - The target method of the lambda expression.
      specializedLambdaMethod - The specialized type of the lambda method.
  • Method Details