Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.bind |
The types and classes of this package are responsible for binding a method call to calling another method.
|
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
Modifier and Type | Method and Description |
---|---|
protected MethodDelegationBinder.MethodInvoker |
MethodDelegation.ImplementationDelegate.Resolution.getMethodInvoker()
Return a method invoker for calling the delegation method.
|
Constructor and Description |
---|
Resolution(MethodList<?> candidates,
StackManipulation preparation,
MethodDelegationBinder.MethodInvoker methodInvoker)
Creates a new resolution.
|
Resolution(MethodList<?> candidates,
StackManipulation preparation,
MethodDelegationBinder.MethodInvoker methodInvoker,
boolean allowStaticMethods)
Creates a new resolution.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodDelegationBinder.MethodInvoker.Simple
A simple method invocation that merely uses the most general form of method invocation as provided by
MethodInvocation . |
static class |
MethodDelegationBinder.MethodInvoker.Virtual
A method invocation that enforces a virtual invocation that is dispatched on a given type.
|
Constructor and Description |
---|
Builder(MethodDelegationBinder.MethodInvoker methodInvoker,
MethodDescription target)
Creates a new builder for the binding of a given method.
|
Constructor and Description |
---|
TargetMethodAnnotationDrivenBinder(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider,
TargetMethodAnnotationDrivenBinder.TerminationHandler terminationHandler,
Assigner assigner,
MethodDelegationBinder.MethodInvoker methodInvoker)
Creates a new method delegation binder that binds method based on annotations found on the target method.
|
Copyright © 2014–2016. All rights reserved.