mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 02:24:00 +07:00
GitOrigin-RevId: 7f20f6011defbdbf8e3a6ce956c2d7f058f25738
14 lines
544 B
Java
14 lines
544 B
Java
import <info descr="Not resolved until the project is fully loaded">com</info>.<info descr="Not resolved until the project is fully loaded">example</info>.*;
|
|
|
|
class X {
|
|
void test(<info descr="Not resolved until the project is fully loaded">MyFunction</info> fn) {}
|
|
|
|
void use() {
|
|
test(() -> {});
|
|
test(System.out::println);
|
|
}
|
|
|
|
void unknownMethod() {
|
|
<info descr="Not resolved until the project is fully loaded">Util</info>.<info descr="Not resolved until the project is fully loaded">foo</info>(x -> x == 5 ? 1 : 2);
|
|
}
|
|
} |