Package org.springframework.nativex.hint
Annotation Type FieldHint
-
@Retention(RUNTIME) public @interface FieldHintConfigure reflection for a given field.- Author:
- Andy Clement, Sebastien Deleuze, Christoph Strobl
- See Also:
- Manual configuration of reflection use in native images
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameThe name of the field.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanallowUnsafeAccessAllow unsafe access on the related field.booleanallowWriteAllow write access on the related field.
-
-
-
-
allowUnsafeAccess
boolean allowUnsafeAccess
Allow unsafe access on the related field.- Returns:
trueif allowed- See Also:
- Unsafe accesses
- Default:
- false
-
-
-
allowWrite
boolean allowWrite
Allow write access on the related field.- Returns:
trueif allowed.- See Also:
- Manual Configuration
- Default:
- false
-
-