Files
openide/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyVariableCanBeFinal.html
Ekaterina Alekseeva 9ee21affe9 [groovy] inspections proofread
GitOrigin-RevId: 61ae000bb2ddc52998d7c1e5220c04a9e6090076
2021-06-24 15:04:44 +00:00

19 lines
383 B
HTML

<html>
<body>
<p>Reports parameters or local variables that may have a final modifier added.</p>
<p><b>Example:</b></p>
<pre><code>
def list = [1,2,3]
return list
</code></pre>
<p>After the quick-fix is applied:
<pre><code>
final def list = [1,2,3]
return list
</code></pre>
<!-- tooltip end -->
<p>For more information, see the same inspection in Java.</p>
</body>
</html>