@HashCodeAndEqualsPlugin.Enhance public static class MethodDelegationBinder.MethodInvoker.Virtual extends java.lang.Object implements MethodDelegationBinder.MethodInvoker
MethodDelegationBinder.MethodInvoker.Simple, MethodDelegationBinder.MethodInvoker.Virtual
Modifier and Type | Field and Description |
---|---|
private TypeDescription |
typeDescription
The type on which a method should be invoked virtually.
|
Constructor and Description |
---|
Virtual(TypeDescription typeDescription)
Creates an immutable method invoker that dispatches all methods on a given type.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
invoke(MethodDescription methodDescription)
Creates a method invocation for a given method.
|
private final TypeDescription typeDescription
public Virtual(TypeDescription typeDescription)
typeDescription
- The type on which the method is invoked by virtual invocation.public StackManipulation invoke(MethodDescription methodDescription)
invoke
in interface MethodDelegationBinder.MethodInvoker
methodDescription
- The method to be invoked.