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

Inject

Javaannotation interfacein com.oracle.svm.core.annotatesince 22.3

@Retention(RUNTIME)
@Target({FIELD})
public @interface Inject

Injects the annotated field into the TargetClass. The field must not be declared static. If instances of the target class are in the image heap, the field also needs to be annotated with RecomputeFieldValue to provide a value for the injected field.

Inject has no members.