Class MethodDelegationBinder.MethodInvoker.Virtual

java.lang.Object
net.bytebuddy.implementation.bind.MethodDelegationBinder.MethodInvoker.Virtual
All Implemented Interfaces:
MethodDelegationBinder.MethodInvoker
Enclosing interface:
MethodDelegationBinder.MethodInvoker

@Enhance public static class MethodDelegationBinder.MethodInvoker.Virtual extends Object implements MethodDelegationBinder.MethodInvoker
A method invocation that enforces a virtual invocation that is dispatched on a given type.
  • Field Details

    • typeDescription

      private final TypeDescription typeDescription
      The type on which a method should be invoked virtually.
  • Constructor Details

    • Virtual

      public Virtual(TypeDescription typeDescription)
      Creates an immutable method invoker that dispatches all methods on a given type.
      Parameters:
      typeDescription - The type on which the method is invoked by virtual invocation.
  • Method Details