This inspection reports on instances of non-Serializable
fields in Serializable classes. Such fields will result
in runtime exceptions if the object is serialized. Fields declared
transient or static
are not reported, nor are fields of classes which have defined a writeObject
method. For purposes of this inspection, fields 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.
Use the table below to specify what specific classes and inheritors should be excluded from being checked by this inspection. This is meant for those classes which, although they inherit Serializable from a superclass, are not intended for serialization. Such classes would lead this inspection to report unnecessarily. |
Powered by InspectionGadgets |