Package net.bytebuddy.implementation
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 Classes Modifier and Type Interface Description static interface
MethodDelegation.ImplementationDelegate.Compiled
A compiled implementation delegate.static class
MethodDelegation.ImplementationDelegate.ForConstruction
An implementation delegate for constructing an instance.static class
MethodDelegation.ImplementationDelegate.ForField
An implementation delegate for invoking methods on a field that is declared by the instrumented type or a super type.static class
MethodDelegation.ImplementationDelegate.ForMethodReturn
An implementation delegate for invoking a delegation target on the another methods return value.static class
MethodDelegation.ImplementationDelegate.ForStaticMethod
An implementation delegate for a static method delegation.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FIELD_NAME_PREFIX
A name prefix for fields.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodDelegation.ImplementationDelegate.Compiled
compile(TypeDescription instrumentedType)
Compiles this implementation delegate.-
Methods inherited from interface net.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
prepare
-
-
-
-
Field Detail
-
FIELD_NAME_PREFIX
static final java.lang.String FIELD_NAME_PREFIX
A name prefix for fields.- See Also:
- Constant Field Values
-
-
Method Detail
-
compile
MethodDelegation.ImplementationDelegate.Compiled compile(TypeDescription instrumentedType)
Compiles this implementation delegate.- Parameters:
instrumentedType
- The instrumented type.- Returns:
- A compiled implementation delegate.
-
-