blob: 36c7af31b0783699272cab65442a259db2ff8fe4 [file]
import org.jetbrains.annotations.Nullable;
class Doo {
@Nullable
Object getMethod() {
return null;
}
public void main(String[] args) {
Object method = getMethod();
System.out.println(getMethod().<warning descr="Method invocation 'hashCode' may produce 'NullPointerException'">hashCode</warning>());
}
}