Class JavaSerializationHint.Builder
java.lang.Object
org.springframework.aot.hint.JavaSerializationHint.Builder
- Enclosing class:
JavaSerializationHint
Builder for
JavaSerializationHint.- Since:
- 6.0
- Author:
- Brian Clozel
-
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
-