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 java.lang.Object implements MethodCall.MethodInvoker.Factory
A method invoker factory for a virtual method invocation.
-
-
Field Summary
Fields Modifier and Type Field Description private TypeDescription
typeDescription
The type on which the virtual method is invoked.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Factory(TypeDescription typeDescription)
Creates a new method invoker factory for a virtual method call.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodCall.MethodInvoker
make(TypeDescription instrumentedType)
Creates a method invoker.
-
-
-
Field Detail
-
typeDescription
private final TypeDescription typeDescription
The type on which the virtual method is invoked.
-
-
Constructor Detail
-
Factory
protected Factory(TypeDescription typeDescription)
Creates a new method invoker factory for a virtual method call.- Parameters:
typeDescription
- The type on which the virtual method is invoked.
-
-
Method Detail
-
make
public MethodCall.MethodInvoker make(TypeDescription instrumentedType)
Creates a method invoker.- Specified by:
make
in interfaceMethodCall.MethodInvoker.Factory
- Parameters:
instrumentedType
- The instrumented type.- Returns:
- The method invoker to use.
-
-