mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
9 lines
233 B
Java
9 lines
233 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.Objects;
|
|
import java.util.function.Predicate;
|
|
|
|
class Bar extends Random {
|
|
public void test(Object obj) {
|
|
Predicate<Object> pred = Objects::nonNull;
|
|
}
|
|
} |