Utility class with 'public' constructor
Reports utility classes with
Utility classes have all fields and methods declared as
static. Creating a
public constructor in such classes is confusing and may cause accidental class instantiation.
After the quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3