mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
8 lines
211 B
Java
8 lines
211 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
class Bar extends Random {
|
|
public void test(Object obj) {
|
|
Function<Object, int[]> fn = int[].class::cast;
|
|
}
|
|
} |