blob: 1d716641444127c56bcb92565ec42512258edf76 [file] [log] [blame]
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public class Npe {
Object foo(@NotNull Object o) {
return o;
}
@Nullable Object nullable() {
return null;
}
void bar() {
Object o = foo(nullable()); // null should not be passed here.
}
}