mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 00:29:34 +07:00
21 lines
571 B
Java
21 lines
571 B
Java
import foo.*;
|
|
|
|
class Foo {
|
|
void test2(final @Nullable Object @NotNull[]@NotNull[] values) {
|
|
for (final Object[] line : values) {
|
|
for (final Object item : line) {
|
|
System.out.println(item.<warning descr="Method invocation 'hashCode' may produce 'java.lang.NullPointerException'">hashCode</warning>());
|
|
}
|
|
}
|
|
}
|
|
|
|
void test3(final @Nullable Object @NotNull[]@NotNull[] values) {
|
|
for (Object[] line : values) {
|
|
line = new Object[]{"a"};
|
|
for (Object item : line) {
|
|
System.out.println(item.hashCode());
|
|
}
|
|
}
|
|
}
|
|
|
|
} |