Interface MethodDelegation.ImplementationDelegate
- All Superinterfaces:
InstrumentedType.Prepareable
- All Known Implementing Classes:
MethodDelegation.ImplementationDelegate.ForConstruction, MethodDelegation.ImplementationDelegate.ForField, MethodDelegation.ImplementationDelegate.ForField.WithInstance, MethodDelegation.ImplementationDelegate.ForField.WithLookup, MethodDelegation.ImplementationDelegate.ForMethodReturn, MethodDelegation.ImplementationDelegate.ForStaticMethod
- Enclosing class:
MethodDelegation
protected static interface MethodDelegation.ImplementationDelegate
extends InstrumentedType.Prepareable
An implementation delegate is responsible for executing the actual method delegation and for resolving the target methods.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA compiled implementation delegate.static classAn implementation delegate for constructing an instance.static classAn implementation delegate for invoking methods on a field that is declared by the instrumented type or a super type.static classAn implementation delegate for invoking a delegation target on the another methods return value.static classAn implementation delegate for a static method delegation.Nested classes/interfaces inherited from interface InstrumentedType.Prepareable
InstrumentedType.Prepareable.NoOp -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncompile(TypeDescription instrumentedType) Compiles this implementation delegate.Methods inherited from interface InstrumentedType.Prepareable
prepare
-
Field Details
-
FIELD_NAME_PREFIX
-
-
Method Details
-
compile
Compiles this implementation delegate.- Parameters:
instrumentedType- The instrumented type.- Returns:
- A compiled implementation delegate.
-