Non-null is the DefaultUsing annotations to make Java’s type system better IntelliJ warns about potential NullPointerExceptions The @Nullable imposes an obligation on the consumers of the value: they must prepare for it to be null. But what happens when I’m the one producing the value? Suppose that I’m calling the method above. This doesn’t look broken! We’ve got a problem. If the file doesn’t exi