Inspectopedia Help

Class with only 'private' constructors should be declared 'final'

Reports classes with only private constructors.

A class that only has private constructors cannot be extended outside a file and should be declared as final.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023