Class ReflectionHintsPredicates.TypeHintPredicate
java.lang.Object
org.springframework.aot.hint.predicate.ReflectionHintsPredicates.TypeHintPredicate
- All Implemented Interfaces:
Predicate<RuntimeHints>
- Enclosing class:
- ReflectionHintsPredicates
public static class ReflectionHintsPredicates.TypeHintPredicate
extends Object
implements Predicate<RuntimeHints>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(RuntimeHints hints) withAnyMemberCategory
(MemberCategory... memberCategories) Refine the current predicate to match if any of the givencategories
is present.withMemberCategories
(MemberCategory... memberCategories) Refine the current predicate to only match if the givencategories
are present.withMemberCategory
(MemberCategory memberCategory) Refine the current predicate to only match if the givenMemberCategory
is present.
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<RuntimeHints>
-
withMemberCategory
Refine the current predicate to only match if the givenMemberCategory
is present.- Parameters:
memberCategory
- the member category- Returns:
- the refined
RuntimeHints
predicate
-
withMemberCategories
Refine the current predicate to only match if the givencategories
are present.- Parameters:
memberCategories
- the member categories- Returns:
- the refined
RuntimeHints
predicate
-
withAnyMemberCategory
Refine the current predicate to match if any of the givencategories
is present.- Parameters:
memberCategories
- the member categories- Returns:
- the refined
RuntimeHints
predicate
-