Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
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 |
---|---|
MethodDelegation |
MethodDelegation.withDefaultsProvider(TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider)
A provider for annotation instances on values that are not explicitly annotated.
|
Constructor and Description |
---|
MethodDelegation(MethodDelegation.ImplementationDelegate implementationDelegate,
List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider,
TargetMethodAnnotationDrivenBinder.TerminationHandler terminationHandler,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
Assigner assigner,
MethodDelegation.MethodContainer methodContainer)
Creates a new method delegation.
|
Modifier and Type | Class and Description |
---|---|
static class |
Argument.NextUnboundAsDefaultsProvider
If this defaults provider is active, a non-annotated parameter is assumed to be implicitly bound to the next
source method parameter that is not bound by any other target method parameter, i.e. a target method
bar(Object, String) would be equivalent to a bar(@Argument(0) Object, @Argument(1) String) . |
static class |
TargetMethodAnnotationDrivenBinder.DefaultsProvider.Empty
A defaults provider that does not supply any defaults.
|
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.