Class MethodCall.ArgumentLoader.ForThisReference

java.lang.Object
net.bytebuddy.implementation.MethodCall.ArgumentLoader.ForThisReference
All Implemented Interfaces:
MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider
Enclosing interface:
MethodCall.ArgumentLoader

@Enhance public static class MethodCall.ArgumentLoader.ForThisReference extends Object implements MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider
An argument loader that assigns the this reference to a parameter.
  • Field Details

    • instrumentedType

      private final TypeDescription instrumentedType
      The instrumented type.
  • Constructor Details

    • ForThisReference

      public ForThisReference(TypeDescription instrumentedType)
      Creates an argument loader that supplies the this instance as an argument.
      Parameters:
      instrumentedType - The instrumented type.
  • Method Details