mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
17 lines
355 B
Java
17 lines
355 B
Java
/*
|
|
May be null (foo; line#13)
|
|
'foo' was assigned (=; line#12)
|
|
Method 'getFoo' is annotated as 'nullable' (@Nullable; line#16)
|
|
*/
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class Test {
|
|
|
|
void test(Object x) {
|
|
String foo = (String)getFoo();
|
|
System.out.println(<selection>foo</selection>.trim());
|
|
}
|
|
|
|
@Nullable native Object getFoo();
|
|
} |