mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
21 lines
595 B
HTML
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> |