Package org.springframework.aot.hint
Class JavaSerializationHint
java.lang.Object
org.springframework.aot.hint.JavaSerializationHint
- All Implemented Interfaces:
ConditionalHint
A hint that describes the need for Java serialization at runtime.
- Since:
- 6.0
- Author:
- Brian Clozel
-
Method Details
-
getType
Return thetype
that needs to be serialized using Java serialization at runtime.- Returns:
- a
Serializable
type
-
getReachableType
Description copied from interface:ConditionalHint
Return the type that should be reachable for this hint to apply, ornull
if this hint should always been applied.- Specified by:
getReachableType
in interfaceConditionalHint
- Returns:
- the reachable type, if any
-
equals
-
hashCode
public int hashCode()
-