Inspectopedia Help

'Externalizable' class without 'public' no-arg constructor

Reports Externalizable classes without a public no-argument constructor.

When an Externalizable object is reconstructed, an instance is created using the public no-arg constructor before the readExternal method called. If a public no-arg constructor is not available, a will be thrown at runtime.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023