public static interface MethodDelegation.ImplementationDelegate.Compiled
Modifier and Type | Interface and Description |
---|---|
static class |
MethodDelegation.ImplementationDelegate.Compiled.ForConstruction
A compiled implementation delegate for a constructor delegation.
|
static class |
MethodDelegation.ImplementationDelegate.Compiled.ForField
A compiled implementation delegate that invokes methods on a field.
|
static class |
MethodDelegation.ImplementationDelegate.Compiled.ForMethodReturn
A compiled implementation delegate that invokes a method on an instance that is returned by another method.
|
static class |
MethodDelegation.ImplementationDelegate.Compiled.ForStaticCall
A compiled implementation delegate for invoking a static method.
|
Modifier and Type | Method and Description |
---|---|
List<MethodDelegationBinder.Record> |
getRecords()
Returns a list of binding records to consider for delegation.
|
MethodDelegationBinder.MethodInvoker |
invoke()
Resolves an invoker to use for invoking the delegation target.
|
StackManipulation |
prepare(MethodDescription instrumentedMethod)
Resolves a stack manipulation that prepares the delegation invocation.
|
StackManipulation prepare(MethodDescription instrumentedMethod)
instrumentedMethod
- The instrumented method.MethodDelegationBinder.MethodInvoker invoke()
List<MethodDelegationBinder.Record> getRecords()
Copyright © 2014–2020. All rights reserved.