mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
testdata for IDEA-127275
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.function.Function;
|
||||
|
||||
class Main {
|
||||
{
|
||||
List<Optional<Function<String, String>>> list = asList(of(Main::identity));
|
||||
}
|
||||
|
||||
static <T> List<T> asList(T... a) { return null;}
|
||||
|
||||
static <T> Optional<T> of(T value) { return null;}
|
||||
|
||||
public static String identity(final String s) {
|
||||
return s;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user