You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an idea, we could have our own @Nullable and @NotNull annotations on method parameters.
We could then use a generator to ensure that the first lines of the method include a null check (e.g. assertNotNull() or Objects.requireNonNull() or similar).
Maybe this could be extended out to fields?
The text was updated successfully, but these errors were encountered:
As an idea, we could have our own
@Nullable
and@NotNull
annotations on method parameters.We could then use a generator to ensure that the first lines of the method include a null check (e.g.
assertNotNull()
orObjects.requireNonNull()
or similar).Maybe this could be extended out to fields?
The text was updated successfully, but these errors were encountered: