protected static interface Forwarding.PreparationHandler
Forwarding
implementation.Modifier and Type | Interface and Description |
---|---|
static class |
Forwarding.PreparationHandler.ForInstanceField
A preparation handler for an unset instance that is stored in an instance field.
|
static class |
Forwarding.PreparationHandler.ForStaticField
A preparation handler for an unset instance that is stored in a
static field. |
static class |
Forwarding.PreparationHandler.ForStaticInstance
A preparation handler for an explicit instance that is stored in a
static field. |
Modifier and Type | Method and Description |
---|---|
StackManipulation |
loadFieldOwner()
Creates a stack manipulation for loading the field owner onto the operand stack.
|
InstrumentedType |
prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType)
Prepares the instrumented type.
|
InstrumentedType prepare(InstrumentedType instrumentedType, String fieldName, TypeDescription fieldType)
instrumentedType
- The instrumented type to prepare.fieldName
- The name of the field in which the delegate should be stored.fieldType
- The type of the field.StackManipulation loadFieldOwner()
Copyright © 2014–2015. All rights reserved.