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

10 lines
198 B
Java

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