mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 00:36:13 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
15 lines
252 B
Java
15 lines
252 B
Java
// "Collapse into loop" "true-preview"
|
|
class X {
|
|
void test() {
|
|
<caret>consume(() -> 1);
|
|
consume(() -> 2);
|
|
consume(() -> 3);
|
|
consume(() -> 4);
|
|
}
|
|
|
|
void consume(IntSupplier x) {}
|
|
|
|
interface IntSupplier {
|
|
int supply();
|
|
}
|
|
} |