mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-17 18:50:49 +07:00
a1753089fe
(cherry picked from commit c05e901232c17e1a93a7024e5d7262d6a324c5e3)
14 lines
205 B
Java
14 lines
205 B
Java
// "Replace lambda with method reference" "true"
|
|
class Example {
|
|
{
|
|
long[][] avg = collect(long[][]::new);
|
|
}
|
|
|
|
interface P<T> {
|
|
T _(int i);
|
|
}
|
|
|
|
<T> T collect(P<T> p) {
|
|
return null;
|
|
}
|
|
} |