Top Description Methods
com.oracle.svm.core.annotate

public @Interface Inject

extends Annotation
Annotations
@Retention:RUNTIME
@Target:FIELD
@Platforms:HOSTED_ONLY
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, org.graalvm.nativeimage.Platform, .Platforms

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.
Since
22.3

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString