Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodDelegation.ImplementationDelegate.ForConstruction
An implementation delegate that invokes a constructor.
|
static class |
MethodDelegation.ImplementationDelegate.ForField
An implementation delegate for loading a delegate from a field.
|
static class |
MethodDelegation.ImplementationDelegate.ForInstance
An implementation delegate that defines a static field to contain a given instance.
|
static class |
MethodDelegation.ImplementationDelegate.ForStaticMethod
An implementation delegate for invoking a static method.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.filter(ElementMatcher<? super MethodDescription> matcher)
Filters all methods that do not fit the supplied matcher from delegation.
|
MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForStaticMethod.filter(ElementMatcher<? super MethodDescription> matcher) |
MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForField.filter(ElementMatcher<? super MethodDescription> matcher) |
MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForInstance.filter(ElementMatcher<? super MethodDescription> matcher) |
MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForConstruction.filter(ElementMatcher<? super MethodDescription> matcher) |
protected static MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForStaticMethod.of(TypeDescription typeDescription)
Creates a new implementation delegate for the static methods of a given type.
|
protected static MethodDelegation.ImplementationDelegate |
MethodDelegation.ImplementationDelegate.ForConstruction.of(TypeDescription typeDescription)
Creates an implementation delegate for the constructors of a type.
|
Constructor and Description |
---|
MethodDelegation(MethodDelegation.ImplementationDelegate implementationDelegate,
List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider,
TargetMethodAnnotationDrivenBinder.TerminationHandler terminationHandler,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
Assigner assigner)
Creates a new method delegation.
|
Copyright © 2014–2016. All rights reserved.