mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 09:46:39 +07:00
GitOrigin-RevId: 4a9f84d48d5fea93696262df333f6964c89cf757
15 lines
250 B
Java
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;
|
|
}
|
|
}
|