Reports non-Serializable objects used as arguments to
java.io.ObjectOutputStream.write(). Such calls will result in runtime exceptions.
For purposes of this inspection, objects with java.util.Collection or
java.util.Map types are assumed to be Serializable, unless the types
they are declared to contain are non-Serializable.