37fb8d6306
Probably because of this commit: https://github.com/JetBrains/intellij-community/commit/7d95ff4d86e584d66d558559a1a4678920281ca1
28 lines
509 B
Java
Vendored
28 lines
509 B
Java
Vendored
public class ImplementJavaInnerInterfaceFromUsage {
|
|
interface Test {
|
|
void foo();
|
|
}
|
|
|
|
void test() {
|
|
Test test = new Test() {
|
|
@Override
|
|
public void foo() {
|
|
|
|
}
|
|
};
|
|
}
|
|
|
|
public static class OtherJava implements Test {
|
|
@Override
|
|
public void foo() {
|
|
|
|
}
|
|
}
|
|
|
|
void usage(Test test) {
|
|
test.<caret>foo();
|
|
}
|
|
}
|
|
|
|
// REF: (in ImplementJavaInnerInterfaceFromUsage.OtherJava).foo()
|
|
// REF: <anonymous>.foo() |