AuthMe / ConfigMe

A simple configuration management library for any Java project!
MIT License
37 stars 14 forks source link

Nullability annotations continued: think of alternatives #319

Open ljacqu opened 1 year ago

ljacqu commented 1 year ago

Unfortunately, @NotNull clutters the code and especially array/varargs and makes it more difficult to follow the code. In this issue, we want to think about a long-term solution for this, such as:

ljacqu commented 1 year ago

This is interesting: https://github.com/google/guava/blob/master/guava/src/com/google/common/base/ElementTypesAreNonnullByDefault.java