Class SerializationHintsPredicates
java.lang.Object
org.springframework.aot.hint.predicate.SerializationHintsPredicates
Generator of
SerializationHints
predicates, testing whether the
given hints match the expected behavior for serialization.- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionReturn a predicate that checks whether aserialization hint
is registered for the given type.onType
(TypeReference typeReference) Return a predicate that checks whether aserialization hint
is registered for the given type reference.
-
Method Details
-
onType
Return a predicate that checks whether aserialization hint
is registered for the given type.- Parameters:
type
- the type to check- Returns:
- the
RuntimeHints
predicate - See Also:
-
onType
Return a predicate that checks whether aserialization hint
is registered for the given type reference.- Parameters:
typeReference
- the type to check- Returns:
- the
RuntimeHints
predicate - See Also:
-