mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
9 lines
264 B
Java
9 lines
264 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
class Example {
|
|
public static void main(String[] args) {
|
|
Function<String, Example> f1 = a -> new<caret> Example(a);
|
|
}
|
|
public Example(String a, String... b) {}
|
|
} |