mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
method reference: capture wildcards of new expressions (IDEA-152115)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class Test {
|
||||
private static Class<?>[] getArguments(Stream<Class<String>> classStream) {
|
||||
return classStream.toArray(Class<?>[]::new);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user