Class ReflectionHintsPredicates.FieldHintPredicate
java.lang.Object
org.springframework.aot.hint.predicate.ReflectionHintsPredicates.FieldHintPredicate
- All Implemented Interfaces:
Predicate<RuntimeHints>
- Enclosing class:
- ReflectionHintsPredicates
public static class ReflectionHintsPredicates.FieldHintPredicate
extends Object
implements Predicate<RuntimeHints>
-
Method Summary
Modifier and TypeMethodDescriptionRefine the current predicate to match if unsafe access is allowed on the field.Refine the current predicate to match if write access is allowed on the field.boolean
test
(RuntimeHints runtimeHints)
-
Method Details
-
allowWrite
Refine the current predicate to match if write access is allowed on the field.- Returns:
- the refined
RuntimeHints
predicate - See Also:
-
allowUnsafeAccess
Refine the current predicate to match if unsafe access is allowed on the field.- Returns:
- the refined
RuntimeHints
predicate - See Also:
-
test
- Specified by:
test
in interfacePredicate<RuntimeHints>
-