protected static interface MethodDelegation.ImplementationDelegate
Modifier and Type | Interface and Description |
---|---|
static class |
MethodDelegation.ImplementationDelegate.ForConstruction
An implementation that creates new instances of a given type.
|
static class |
MethodDelegation.ImplementationDelegate.ForInstanceField
An implementation applied on an instance field.
|
static class |
MethodDelegation.ImplementationDelegate.ForStaticField
An implementation applied on a static field.
|
static class |
MethodDelegation.ImplementationDelegate.ForStaticMethod
An implementation applied to a static method.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.MethodInvoker |
getMethodInvoker(TypeDescription instrumentedType)
Returns the method invoker responsible for invoking the delegation method.
|
StackManipulation |
getPreparingStackAssignment(TypeDescription instrumentedType)
Returns the stack manipulation responsible for preparing the instance representing the implementation.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.
|
InstrumentedType prepare(InstrumentedType instrumentedType)
instrumentedType
- The instrumented type to be prepared.StackManipulation getPreparingStackAssignment(TypeDescription instrumentedType)
instrumentedType
- A description of the instrumented type to which the implementation is applied.MethodDelegationBinder.MethodInvoker getMethodInvoker(TypeDescription instrumentedType)
instrumentedType
- The instrumented type to which the implementation is applied.Copyright © 2014–2015. All rights reserved.