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