mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
method duplicates: qualify match in order to prevent name conflict ( IDEA-24764 )
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class Test {
|
||||
public Foo createFoo() {
|
||||
return new Foo() {
|
||||
public void bar() {
|
||||
Test.this.bar();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public void bar() {
|
||||
System.out.println(1);
|
||||
}
|
||||
|
||||
public interface Foo {
|
||||
void bar();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user