mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
8 lines
215 B
Java
8 lines
215 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.function.Predicate;
|
|
|
|
class Bar extends Random {
|
|
public void test(Object obj) {
|
|
Predicate<Object> pred = String.class::isInstance;
|
|
}
|
|
} |