Files
2021-11-12 16:32:43 +00:00

15 lines
250 B
Java

import java.util.function.Consumer;
public class Foo {
void f(Foo f ) {
<selection>f(c -> c.getFoo());</selection>
f(c -> c.getFoo());
}
void f(Consumer<? extends Foo> b){}
Foo getFoo() {
return this;
}
}