Class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation

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

@Enhance protected static class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation extends Object implements Implementation
Implements an explicit bridge method for a lambda expression.
  • Field Details

    • lambdaMethodName

      private final String lambdaMethodName
      The name of the lambda expression's functional method.
    • lambdaMethod

      private final JavaConstant.MethodType lambdaMethod
      The actual type of the lambda expression's functional method.
  • Constructor Details

    • BridgeMethodImplementation

      protected BridgeMethodImplementation(String lambdaMethodName, JavaConstant.MethodType lambdaMethod)
      Creates a new bridge method implementation for a lambda expression.
      Parameters:
      lambdaMethodName - The name of the lambda expression's functional method.
      lambdaMethod - The actual type of the lambda expression's functional method.
  • Method Details