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.booleantest(RuntimeHints runtimeHints)
-
Method Details
-
allowWrite
Refine the current predicate to match if write access is allowed on the field.- Returns:
- the refined
RuntimeHintspredicate - See Also:
-
allowUnsafeAccess
Refine the current predicate to match if unsafe access is allowed on the field.- Returns:
- the refined
RuntimeHintspredicate - See Also:
-
test
- Specified by:
testin interfacePredicate<RuntimeHints>
-