mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
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);
|
|
}
|
|
} |