Class SerializationHintsPredicates
java.lang.Object
org.springframework.aot.hint.predicate.SerializationHintsPredicates
@Deprecated(since="7.0.6",
forRemoval=true)
public class SerializationHintsPredicates
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Return a predicate that checks whether aserialization hintis registered for the given type.onType(TypeReference typeReference) Deprecated, for removal: This API element is subject to removal in a future version.Return a predicate that checks whether aserialization hintis registered for the given type reference.
-
Method Details
-
onType
Deprecated, for removal: This API element is subject to removal in a future version.Return a predicate that checks whether aserialization hintis registered for the given type.- Parameters:
type- the type to check- Returns:
- the
RuntimeHintspredicate - See Also:
-
onType
Deprecated, for removal: This API element is subject to removal in a future version.Return a predicate that checks whether aserialization hintis registered for the given type reference.- Parameters:
typeReference- the type to check- Returns:
- the
RuntimeHintspredicate - See Also:
-
ReflectionHintsPredicates