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