mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 20:20:56 +07:00
8 lines
155 B
Java
8 lines
155 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.function.Consumer;
|
|
|
|
enum E {
|
|
E(System.out::println);
|
|
|
|
E(Runnable r) { }
|
|
} |