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

21 lines
595 B
HTML

<html>
<body>
Reports classes that extend a utility class.
<p>
A utility class is a non-empty class in which all fields and methods are static.
Extending a utility class also allows for inadvertent object instantiation of the
utility class, because the constructor cannot be made private in order to allow extension.
</p>
<!-- tooltip end -->
<p>
Configure the inspection:
</p>
<ul>
<li>
Use the <b>Ignore if overriding class is a utility class</b> option to ignore any classes that override a utility class but are
also utility classes themselves.
</li>
</ul>
</body>
</html>