public static enum Forwarding.PreparationHandler.ForInstanceField extends Enum<Forwarding.PreparationHandler.ForInstanceField> implements Forwarding.PreparationHandler
Forwarding.PreparationHandler.ForInstanceField, Forwarding.PreparationHandler.ForStaticField, Forwarding.PreparationHandler.ForStaticInstance
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
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.Generic fieldType)
Prepares the instrumented type.
|
String |
toString() |
static Forwarding.PreparationHandler.ForInstanceField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Forwarding.PreparationHandler.ForInstanceField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Forwarding.PreparationHandler.ForInstanceField INSTANCE
public static Forwarding.PreparationHandler.ForInstanceField[] values()
for (Forwarding.PreparationHandler.ForInstanceField c : Forwarding.PreparationHandler.ForInstanceField.values()) System.out.println(c);
public static Forwarding.PreparationHandler.ForInstanceField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic InstrumentedType prepare(InstrumentedType instrumentedType, String fieldName, TypeDescription.Generic fieldType)
Forwarding.PreparationHandler
prepare
in interface Forwarding.PreparationHandler
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.public StackManipulation loadFieldOwner()
Forwarding.PreparationHandler
loadFieldOwner
in interface Forwarding.PreparationHandler
public String toString()
toString
in class Enum<Forwarding.PreparationHandler.ForInstanceField>
Copyright © 2014–2016. All rights reserved.