public static class MethodDelegationBinder.Processor extends Object
MethodDelegationBinder
and an MethodDelegationBinder.AmbiguityResolver
.
The
Processor
will:
source
method using the MethodDelegationBinder
.AmbiguityResolver
.Constructor and Description |
---|
Processor(MethodDelegationBinder methodDelegationBinder,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver) |
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.AmbiguityResolver |
getAmbiguityResolver()
Returns the
MethodDelegationBinder.AmbiguityResolver
used by this Processor . |
MethodDelegationBinder |
getMethodDelegationBinder()
Returns the
MethodDelegationBinder
used by this Processor . |
MethodDelegationBinder.MethodBinding |
process(TypeDescription instrumentedType,
MethodDescription source,
Iterable<? extends MethodDescription> targets) |
String |
toString() |
public Processor(MethodDelegationBinder methodDelegationBinder, MethodDelegationBinder.AmbiguityResolver ambiguityResolver)
public MethodDelegationBinder getMethodDelegationBinder()
MethodDelegationBinder
used by this Processor
.Processor
.public MethodDelegationBinder.AmbiguityResolver getAmbiguityResolver()
MethodDelegationBinder.AmbiguityResolver
used by this Processor
.Processor
.public MethodDelegationBinder.MethodBinding process(TypeDescription instrumentedType, MethodDescription source, Iterable<? extends MethodDescription> targets)
instrumentedType
- The instrumented type that is target of binding the source
method
to a delegate method.source
- The source method that is to be bound.targets
- All possible targets for the delegation binding that are to be considered.Copyright © 2014. All rights reserved.