mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
advanceResolve(incomplete=true) prevents guard to work GitOrigin-RevId: 437ec02af808a89c8339909411bec6d95ff225dc
19 lines
462 B
Java
19 lines
462 B
Java
import java.util.*;
|
|
import java.util.function.*;
|
|
|
|
class MyTest {
|
|
void foo(String[] strings){
|
|
final List<Consumer<String>> list = map2List(strings, str -> s -> asser<caret>tEquals(str, s));
|
|
}
|
|
|
|
static <T, V> List<V> map2List(T[] array, Function<? super T, ? extends V> mapper) {
|
|
return null;
|
|
}
|
|
|
|
static boolean assertEquals(Object o1, Object o2) {
|
|
return false;
|
|
}
|
|
static boolean assertEquals(String o1, String o2) {
|
|
return false;
|
|
}
|
|
} |