mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
9 lines
283 B
Java
9 lines
283 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 */ x + "foo")).a<caret>pply("a" +/* who-hoo */ "x");
|
|
}
|
|
} |