mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
16 lines
921 B
HTML
16 lines
921 B
HTML
<html>
|
|
<body>
|
|
Reports classes whose number of fields exceeds the specified maximum.
|
|
<p>Classes with a large number of fields are often trying to do too much. Consider splitting such a class into multiple smaller classes.</p>
|
|
<!-- tooltip end -->
|
|
<p>Configure the inspection:</p>
|
|
<ul>
|
|
<li>Use the <b>Field count limit</b> field to specify the maximum allowed number of fields in a class.</li>
|
|
<li>Use the <b>Include constant fields in count</b> option to indicate whether constant fields should be counted.</li>
|
|
<li>By default only immutable <code>static final</code> objects are counted as constants. Use the <b>'static final' fields count as constant</b> option
|
|
to count any <code>static final</code> field as constant.</li>
|
|
<li>Use the <b>Include enum constants in count</b> option to specify whether <code>enum</code> constants in <code>enum</code> classes
|
|
should be counted.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |