mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-02 05:50:53 +07:00
11 lines
249 B
Java
11 lines
249 B
Java
// "Replace method call on lambda with lambda body" "true-preview"
|
|
|
|
import java.util.function.IntBinaryOperator;
|
|
|
|
public class Main {
|
|
void test() {
|
|
int z = 0;
|
|
int res = ((IntBinaryOperator)(x, y) -> x).applyAs<caret>Int(z+=2, z+=3);
|
|
}
|
|
}
|