Externalizable classes have no-arguments constructor

MSAL

Externalizable classes handle both serialization and deserialization and must have a no-args constructor for the deserialization process. Without a public no-argument constructor, the JVM cannot instantiate the object during deserialization and will throw an InvalidClassException at runtime.

org.openrewrite.staticanalysis.ExternalizableHasNoArgsConstructor
mod run . --recipe=org.openrewrite.staticanalysis.ExternalizableHasNoArgsConstructor

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.