mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
14 lines
592 B
HTML
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> |