IDEA-121698 Automatically make variables accessed from outer scopes final

This commit is contained in:
peter
2014-03-05 22:19:28 +01:00
parent 6166a0e4fb
commit 2c6cea692a
4 changed files with 35 additions and 2 deletions
@@ -1,6 +1,6 @@
class C{
{
Object o;
final Object o;
if (o instanceof Foo) {
new Runnable() {
public void run() {
@@ -10,7 +10,7 @@ package codeInsight.completion.variables.locals;
public class TestSource4 {
int aaa = 0;
public static void foo(){
int abc = 0;
final int abc = 0;
class Inner1{
int sbe=abc<caret>
}