Hide utility class constructor

MSAL

Ensures utility classes (classes containing only static methods or fields in their API) do not have a public constructor. Instantiating a utility class is almost certainly a mistake, and a private constructor makes that intent clear while preventing misuse.

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

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