Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.filter(ElementMatcher<? super MethodDescription> matcher)
Configures this method delegation to only consider methods or constructors as a delegation target if they match the supplied matcher.
|
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.withBinders(List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
Configures this method delegation to use the supplied parameter binders when deciding what value to assign to
a parameter of a delegation target.
|
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.withBinders(TargetMethodAnnotationDrivenBinder.ParameterBinder<?>... parameterBinder)
Configures this method delegation to use the supplied parameter binders when deciding what value to assign to
a parameter of a delegation target.
|
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.withBindingResolver(MethodDelegationBinder.BindingResolver bindingResolver)
Configures a custom binding resolver which is responsible for choosing a method binding among multiple candidates.
|
static MethodDelegation.WithCustomProperties |
MethodDelegation.withDefaultConfiguration()
Creates a configuration builder for a method delegation that is pre-configured with the ambiguity resolvers defined by
MethodDelegationBinder.AmbiguityResolver.DEFAULT and the parameter binders
defined by TargetMethodAnnotationDrivenBinder.ParameterBinder.DEFAULTS . |
static MethodDelegation.WithCustomProperties |
MethodDelegation.withEmptyConfiguration()
Creates a configuration builder for a method delegation that does not apply any pre-configured
MethodDelegationBinder.AmbiguityResolver s or
TargetMethodAnnotationDrivenBinder.ParameterBinder s. |
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.withResolvers(List<? extends MethodDelegationBinder.AmbiguityResolver> ambiguityResolvers)
Configures this method delegation to use the supplied ambiguity resolvers when deciding which out of two ore
more legal delegation targets should be considered.
|
MethodDelegation.WithCustomProperties |
MethodDelegation.WithCustomProperties.withResolvers(MethodDelegationBinder.AmbiguityResolver... ambiguityResolver)
Configures this method delegation to use the supplied ambiguity resolvers when deciding which out of two ore
more legal delegation targets should be considered.
|
Copyright © 2014–2025. All rights reserved.