RecomputeFieldValue.Kind
public enum RecomputeFieldValue.Kind- Enclosing type
RecomputeFieldValue
No description.
Enum constants14
None
None
since 22.3NoneThe initial field value is not modified. This is the default behavior when no RecomputeFieldValue annotation is present.
Reset
NewInstance
NewInstance
since 22.3NewInstanceThe object field is set to a instance of declClass created by calling the default constructor.
NewInstanceWhenNotNull
NewInstanceWhenNotNull
since 22.3NewInstanceWhenNotNullThe object field is set to a instance of declClass created by calling the default constructor when the target field value is not null.
FieldOffset
FieldOffset
since 22.3FieldOffsetStaticFieldBase
StaticFieldBase
since 23.0StaticFieldBaseThe static field base Object as it would be computed by Unsafe.staticFieldBase(Field).
ArrayBaseOffset
ArrayBaseOffset
since 22.3ArrayBaseOffsetThe int or long field is set to the offset of the first array element of the array class declClass, as it would be computed by Unsafe.arrayBaseOffset(Class).
ArrayIndexScale
ArrayIndexScale
since 22.3ArrayIndexScaleThe int or long field is set to the element size array class declClass, as it would be computed by Unsafe.arrayIndexScale(Class).
ArrayIndexShift
ArrayIndexShift
since 22.3ArrayIndexShiftThe int or long field is set to the log2 of ArrayIndexScale.
AtomicFieldUpdaterOffset
AtomicFieldUpdaterOffset
since 22.3AtomicFieldUpdaterOffsetSpecial support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater.
TranslateFieldOffset
TranslateFieldOffset
since 22.3TranslateFieldOffsetThe field offset stored in this int or long field is updated. The original value must be a valid field offset in the hosted universe, and the new value is the field offset of the same field in the substrate universe. The field is looked up in the class declClass.
Manual
Custom
Methods2
static RecomputeFieldValue.Kind[] values()
values
staticpublic static RecomputeFieldValue.Kind[] values()Returns the enum constants in declaration order.
Returns
RecomputeFieldValue.Kind[]- Returns the enum constants in declaration order.
static RecomputeFieldValue.Kind valueOf(String)
valueOf
staticpublic static RecomputeFieldValue.Kind valueOf(String name)Returns the enum constant with the given name.
Parameters
nameString- The exact name of the enum constant.
Returns
RecomputeFieldValue.Kind- Returns the enum constant with the given name.
Inherited members
From class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf