Elide GraalVM25.6.0-elide.4
All types
Versions and modules

RecomputeFieldValue.Kind

Javaenum classin com.oracle.svm.core.annotatesince 22.3

public enum RecomputeFieldValue.Kind
Inheritance
  1. Object
  2. Enum
  3. Kind
Enclosing type
RecomputeFieldValue

No description.

Enum constants14

None

None

since 22.3
None

The initial field value is not modified. This is the default behavior when no RecomputeFieldValue annotation is present.

Reset

Reset

since 22.3
Reset

The field is reset to the default value (null, 0, false).

NewInstance

NewInstance

since 22.3
NewInstance

The object field is set to a instance of declClass created by calling the default constructor.

NewInstanceWhenNotNull

NewInstanceWhenNotNull

since 22.3
NewInstanceWhenNotNull

The object field is set to a instance of declClass created by calling the default constructor when the target field value is not null.

FromAlias

FromAlias

since 22.3
FromAlias

The field is set to the value assigned to the Alias field.

FieldOffset

FieldOffset

since 22.3
FieldOffset

The int or long field is set to the offset of the field named name() of the class declClass, as it would be computed by Unsafe.objectFieldOffset.

StaticFieldBase

StaticFieldBase

since 23.0
StaticFieldBase

The static field base Object as it would be computed by Unsafe.staticFieldBase(Field).

ArrayBaseOffset

ArrayBaseOffset

since 22.3
ArrayBaseOffset

The 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.3
ArrayIndexScale

The 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.3
ArrayIndexShift

The int or long field is set to the log2 of ArrayIndexScale.

AtomicFieldUpdaterOffset

AtomicFieldUpdaterOffset

since 22.3
AtomicFieldUpdaterOffset

Special support for field offsets used by java.util.concurrent.atomic.AtomicXxxFieldUpdater.

TranslateFieldOffset

TranslateFieldOffset

since 22.3
TranslateFieldOffset

The 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

Manual

since 22.3
Manual

Marker value that the field is intercepted by some manual logic.

Custom

Custom

since 22.3
Custom

Use a FieldValueTransformer, which is specified as the target class.

Methods2

static RecomputeFieldValue.Kind[] values()

values

static
public 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

static
public 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