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 |
---|---|
List<MethodDelegationBinder.Record> |
MethodDelegation.ImplementationDelegate.Compiled.getRecords()
Returns a list of binding records to consider for delegation.
|
List<MethodDelegationBinder.Record> |
MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall.getRecords()
Returns a list of binding records to consider for delegation.
|
List<MethodDelegationBinder.Record> |
MethodDelegation.ImplementationDelegate.Compiled.ForField.getRecords()
Returns a list of binding records to consider for delegation.
|
List<MethodDelegationBinder.Record> |
MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn.getRecords()
Returns a list of binding records to consider for delegation.
|
List<MethodDelegationBinder.Record> |
MethodDelegation.ImplementationDelegate.Compiled.ForConstruction.getRecords()
Returns a list of binding records to consider for delegation.
|
Constructor and Description |
---|
Appender(Implementation.Target implementationTarget,
MethodDelegationBinder.Record processor,
MethodDelegationBinder.TerminationHandler terminationHandler,
Assigner assigner,
MethodDelegation.ImplementationDelegate.Compiled compiled)
Creates a new appender for a method delegation.
|
Constructor and Description |
---|
ForConstruction(TypeDescription typeDescription,
List<MethodDelegationBinder.Record> records)
Creates a new compiled implementation delegate for a constructor delegation.
|
ForConstruction(TypeDescription typeDescription,
List<MethodDelegationBinder.Record> records)
Creates an implementation delegate for constructing a new instance.
|
ForField(FieldDescription fieldDescription,
List<MethodDelegationBinder.Record> records)
Creates a new compiled implementation delegate for a field delegation.
|
ForMethodReturn(MethodDescription methodDescription,
List<MethodDelegationBinder.Record> records)
Creates a new compiled implementation delegate for a field delegation.
|
ForStaticCall(List<MethodDelegationBinder.Record> records)
Creates a new compiled implementation delegate for a static method call.
|
ForStaticMethod(List<MethodDelegationBinder.Record> records)
Creates a new implementation delegate for a static method delegation.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodDelegationBinder.Processor
A helper class that allows to identify a best binding for a given type and source method choosing from a list of given
target methods by using a given
MethodDelegationBinder
and an MethodDelegationBinder.AmbiguityResolver . |
static class |
MethodDelegationBinder.Record.Illegal
A compiled method delegation binder that only yields illegal bindings.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.Record |
MethodDelegationBinder.compile(MethodDescription candidate)
Compiles this method delegation binder for a target method.
|
Constructor and Description |
---|
Processor(List<? extends MethodDelegationBinder.Record> records,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
MethodDelegationBinder.BindingResolver bindingResolver)
Creates a new processor.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TargetMethodAnnotationDrivenBinder.Record
A compiled record of a target method annotation-driven binder.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.Record |
TargetMethodAnnotationDrivenBinder.compile(MethodDescription candidate)
Compiles this method delegation binder for a target method.
|
Copyright © 2014–2020. All rights reserved.