Class MethodCall.TargetHandler.ForMethodCall

java.lang.Object
net.bytebuddy.implementation.MethodCall.TargetHandler.ForMethodCall
All Implemented Interfaces:
MethodCall.TargetHandler
Enclosing interface:
MethodCall.TargetHandler

@Enhance public static class MethodCall.TargetHandler.ForMethodCall extends Object implements MethodCall.TargetHandler
A target handler that executes the method and uses it's return value as the target object.
  • Field Details

    • appender

      private final MethodCall.Appender appender
      The appender that is the target of the using method call.
  • Constructor Details

    • ForMethodCall

      protected ForMethodCall(MethodCall.Appender appender)
      Creates a new target handler for another method call.
      Parameters:
      appender - The appender that is the target of the using method call.
  • Method Details