mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
9 lines
279 B
Java
9 lines
279 B
Java
// "Replace method call on lambda with lambda body" "true-preview"
|
|
|
|
import java.util.function.Function;
|
|
|
|
public class Test {
|
|
public static void main(String[] args) {
|
|
String s = ((Function<String, String>)((x) -> /* bar */ "foo")).a<caret>pply("a" +/* who-hoo */ "x");
|
|
}
|
|
} |