Package net.bytebuddy.implementation
Class MethodCall.MethodInvoker.ForVirtualInvocation.Factory
java.lang.Object
net.bytebuddy.implementation.MethodCall.MethodInvoker.ForVirtualInvocation.Factory
- All Implemented Interfaces:
MethodCall.MethodInvoker.Factory
- Enclosing class:
- MethodCall.MethodInvoker.ForVirtualInvocation
@Enhance
protected static class MethodCall.MethodInvoker.ForVirtualInvocation.Factory
extends Object
implements MethodCall.MethodInvoker.Factory
A method invoker factory for a virtual method invocation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeDescription
The type on which the virtual method is invoked. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Factory
(TypeDescription typeDescription) Creates a new method invoker factory for a virtual method call. -
Method Summary
Modifier and TypeMethodDescriptionmake
(TypeDescription instrumentedType) Creates a method invoker.
-
Field Details
-
typeDescription
The type on which the virtual method is invoked.
-
-
Constructor Details
-
Factory
Creates a new method invoker factory for a virtual method call.- Parameters:
typeDescription
- The type on which the virtual method is invoked.
-
-
Method Details
-
make
Creates a method invoker.- Specified by:
make
in interfaceMethodCall.MethodInvoker.Factory
- Parameters:
instrumentedType
- The instrumented type.- Returns:
- The method invoker to use.
-