Interface SerializabilityChecker


  • public interface SerializabilityChecker
    A checker to determine whether an object class should be treated as serializable.
    • Field Detail

      • DEFAULT

        static final SerializabilityChecker DEFAULT
        The default serializability checker. Returns true for any class which implements Serializable.
    • Method Detail

      • isSerializable

        boolean isSerializable​(java.lang.Class<?> clazz)
        Determine whether an object class is serializable.
        Parameters:
        clazz - the object class to test
        Returns:
        true if the object class is serializable, false otherwise