Package org.springframework.aot.hint
Class JavaSerializationHint.Builder
java.lang.Object
org.springframework.aot.hint.JavaSerializationHint.Builder
- Enclosing class:
- JavaSerializationHint
Builder for
JavaSerializationHint
.-
Method Summary
Modifier and TypeMethodDescriptiononReachableType
(TypeReference reachableType) Make this hint conditional on the fact that the specified type can be resolved.
-
Method Details
-
onReachableType
Make this hint conditional on the fact that the specified type can be resolved.- Parameters:
reachableType
- the type that should be reachable for this hint to apply- Returns:
this
, to facilitate method chaining
-