mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 21:43:33 +07:00
Removing redundant code (IDEA-CR-61866)
Actually covered by other branches GitOrigin-RevId: 6f8a400d4d6160f2ec7e198d8fbf0119e9d1c84c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7a7cd1dfc7
commit
ed86103b09
+18
@@ -7,4 +7,22 @@ interface Foo {
|
||||
}
|
||||
};
|
||||
}
|
||||
default void bar1() {
|
||||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println(Foo.this);
|
||||
}
|
||||
};
|
||||
}
|
||||
static void bar2() {
|
||||
new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println(<error descr="'Foo.this' cannot be referenced from a static context">Foo.this</error>);
|
||||
}
|
||||
};
|
||||
}
|
||||
int getX();
|
||||
int x = <error descr="'Foo.this' cannot be referenced from a static context">this</error>.getX();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user