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

RawFieldAddress

Javaannotation interfacein org.graalvm.nativeimage.c.structsince 19.3

@Retention(RUNTIME)
@Target({METHOD})
public @interface RawFieldAddress

Denotes a method as a field address computation of a RawStructure.

Calls to the method are replaced with address arithmetic. The possible signatures are IntType addressOfFieldName([IntType index]);

The return type must be a primitive integer type or a word type. The receiver is the pointer to the RawStructure that is accessed.

The field offset, i.e., the value that is added to the receiver, is a compile time constant.

RawFieldAddress has no members.