Files
openide/java/java-impl/resources/inspectionDescriptions/UtilityClassWithoutPrivateConstructor.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

14 lines
592 B
HTML

<html>
<body>
Reports utility classes without <code>private</code> constructors.
<p>Utility classes have all fields and methods declared as <code>static</code>. Creating <code>private</code>
constructors in utility classes prevents them from being accidentally instantiated.
<!-- tooltip end -->
<p>
Use the <b>Ignore if annotated by</b> option to specify special annotations. The inspection ignores classes marked with one of
these annotations.
<p>
Use the <b>Ignore classes with only a main method</b> option to ignore classes with no methods other than the main one.
</p>
</body>
</html>