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

11 lines
551 B
HTML

<html>
<body>
Reports non-<code>final</code> <code>static</code> fields.
<p>A quick-fix is available to add the <code>final</code> modifier to a non-<code>final</code> <code>static</code> field.</p>
<p>This inspection doesn't check fields' mutability. For example, adding the <code>final</code> modifier to a field that has a value
being set somewhere will cause a compilation error.</p>
<!-- tooltip end -->
<p>
Use the <b>Only report 'public' fields</b> option so that the inspection reported only <code>public</code> fields.</p>
</body>
</html>