super expression rules should not apply to this expressions (IDEA-163303)

This commit is contained in:
Anna.Kozlova
2016-10-28 17:54:44 +02:00
parent f61f34b6dd
commit 80a5866b23
2 changed files with 17 additions and 1 deletions

View File

@@ -65,3 +65,19 @@ class Test {
}
}
class InsideThisRxpression {
interface Foo {
void fooMethod();
default Bar toBar() {
return new Bar() {
@Override
public void fooMethod() {
Foo.this.fooMethod();
}
};
}
}
public interface Bar extends Foo {}
}