Files
openide/java/java-tests/testData/refactoring/extractMethodAndDuplicatesInplace/IntroduceObjectInsideNestedClass.java
Alexandr Suhinin 6ed0762529 [extract method with object] fix: check class conflicts inside nested classes
GitOrigin-RevId: 6648c003ae7030c371b83fd68550e81ad1debdf9
2023-02-27 13:03:57 +00:00

13 lines
226 B
Java

public class Test {
private static class Nested {
void test() {
<selection>int x = 0;
int y = 0;
System.out.println();</selection>
System.out.println("Point(" + x + ", " + y + ")");
}
}
}