blob: b55ce84f7badf63357034a775b9cb8f145e21218 [file] [log] [blame]
import org.jetbrains.annotations.Nullable;
class Zoo2 {
void foo(@Nullable final Object foo, @Nullable final Object bar) {
if (foo == null) {
return;
}
new Runnable() {
int hc = foo.hashCode();
int hc2 = <warning descr="Method invocation 'bar.hashCode()' may produce 'java.lang.NullPointerException'">bar.hashCode()</warning>;
public void run() {
}
}.run();
}
}