mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
allow to create field inside static inner class when outer class has the field with the same name (IDEA-71841)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "Create Field 'field'" "true"
|
||||
class A {
|
||||
String field;
|
||||
|
||||
static class Foo {
|
||||
private Object field<caret>;
|
||||
|
||||
Foo() {
|
||||
field;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// "Create Field 'field'" "true"
|
||||
class A {
|
||||
String field;
|
||||
|
||||
static class Foo {
|
||||
Foo() {
|
||||
fie<caret>ld;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user