mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
22 lines
544 B
HTML
22 lines
544 B
HTML
<html>
|
|
<body>
|
|
Reports parameters or local variables that may have the <code>final</code> modifier added to their declaration.
|
|
<p>Example:</p>
|
|
<pre><code>
|
|
ArrayList<Integer> list = new ArrayList();
|
|
fill(list);
|
|
return list;
|
|
</code></pre>
|
|
<p>After the quick-fix is applied:</p>
|
|
<pre><code>
|
|
final ArrayList<Integer> list = new ArrayList();
|
|
fill(list);
|
|
return list;
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
Use the inspection's options to define whether parameters or local variables should be reported.
|
|
</p>
|
|
</body>
|
|
</html>
|