[java] inline local: treatment for anonymous class's arguments (IDEA-279485)

GitOrigin-RevId: 5493352d47e8d6fe7a60495dddb7f23876f90db9
This commit is contained in:
Anna Kozlova
2021-10-01 22:00:57 +02:00
committed by intellij-monorepo-bot
parent ad3c351ee5
commit f1ff0aa821
8 changed files with 74 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
class X {
void use() {
int x = 2;
new A(x, x = 3, <caret>x) {};
}
static class A {
A(int x1, int x2, int x3) {}
}
}