Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create more annotations like @ParametersAreNonnullByDefault #280

Closed
cushon opened this issue Jan 27, 2015 · 0 comments
Closed

Create more annotations like @ParametersAreNonnullByDefault #280

cushon opened this issue Jan 27, 2015 · 0 comments

Comments

@cushon
Copy link
Collaborator

cushon commented Jan 27, 2015

Suggested by @Stephan202 in #93 -

If possible, I'd like for you to consider another annotation, namely @EverythingIsNonnullByDefault as defined in this SO answer or variations thereof, such as @ReturnTypesAreNonnullByDefault and @FieldsAreNonnullByDefault, as defined in this SO answer. It would do away with the need for everybody to re-implement/redefine these annotations themselves. (I used these in several internal projects, and based on the SO answers it's not uncommon for other to do, too.)

If error-prone starts checking nullness annotations we should consider adding these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant