Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convert2Local/beforeNestedClass.java

11 lines
210 B
Java

// "Convert field to local variable in method 'test'" "true"
class Foo {
static class Bar {
private int <caret>x;
void test() {
x = 2; // could be local
System.out.println(x);
}
}
}