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

Use the JSR 305 Annotations to specify what can and what can’t be null #246

Open
ExE-Boss opened this issue Jan 14, 2017 · 1 comment
Open
Labels
enhancement Nice to have features

Comments

@ExE-Boss
Copy link
Member

ExE-Boss commented Jan 14, 2017

The JSR 305 Annotations library provides multiple annotations in the javax.annotation package, including @Nullable and @Nonnull which specify what can and can’t be null respectively.

The library also provides other annotations, such as @Immutable to specify immutable objects.
It’s also used by Minecraft Forge.

dependencies {
	compile group: "com.google.code.findbugs", name: "jsr305", version: "1.3.9"
}
@ExE-Boss ExE-Boss added the enhancement Nice to have features label Jan 14, 2017
@SoniEx2
Copy link
Contributor

SoniEx2 commented Jan 15, 2017

I'd love to help with this.

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

No branches or pull requests

2 participants