mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
15 lines
488 B
HTML
15 lines
488 B
HTML
<html>
|
|
<body>
|
|
Reports instance variables that can safely be made <code>static</code>. A field
|
|
can be static if it is declared <code>final</code> and initialized with a constant.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
public final String str = "sample";
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
The inspection does not report final fields that can be implicitly written. Use the "Annotations" button to modify
|
|
the list of annotations that assume implicit field write.
|
|
</p>
|
|
</body>
|
|
</html> |