mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 00:19:11 +07:00
GitOrigin-RevId: 0053ec890ce1ee44202097c2333a448a0d201b47
9 lines
213 B
Java
9 lines
213 B
Java
// "Annotate parameter 'obj' as @NonNls" "true"
|
|
import java.util.Optional;
|
|
|
|
class Foo {
|
|
void consumerTest() {
|
|
Optional.of(new Object() {void foo(String s) {}}).ifPresent(obj -> obj.foo("<caret>bar"));
|
|
}
|
|
}
|