IntelliJ IDEA 14.1.0 Help

Creating a Serializable Class

IntelliJ IDEA can generate a serializable class for you, that will meet all the requirements:

  • Implements IsSerializable.
  • Has a public default (zero argument) constructor.

To generate a serializable class

  1. A serializable class can be created in the client part only.
  2. All non-final, non-transient instance fields within the class must be serializable themselves.

  1. In the Project view, right-click the client package.
  2. From the context menu, select New | Google Web Toolkit | GWT Serializable class.
  3. Specify the name of the class and click OK.

See Also

Last modified: 14 July 2015