Class AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation

    • Field Detail

      • 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 Detail

      • 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.