blob: 36c87e6b85af2d9d732f973f6610910c50849247 [file]
import org.jetbrains.annotations.Nullable;
import java.util.*;
class DDD {
@Nullable
String field;
@Nullable List<String> list;
void test2() {
if(list == null) list = new ArrayList<>();
unknown();
System.out.println(list.size());
}
void unknown() {
System.out.println();
}
int test() {
return new DDD().field.<warning descr="Method invocation 'hashCode' may produce 'NullPointerException'">hashCode</warning>();
}
}