typetools / typetools/checker-framework
Support @ParametersAreNonnullByDefault
Open
Nobody has claimed this yet.
good first issue
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
Eclipse and FindBugs support a @ParametersAreNonnullByDefault annotation.
The Nullness Checker should treat it as an alias for @DefaultQualifier(value = NonNull.class, locations = TypeUseLocation.PARAMETER).
Thanks to Nick Wong for the suggestion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Nullness Checker’s existing support for Eclipse/FindBugs annotations and the handling of @DefaultQualifier with TypeUseLocation.PARAMETER. Done means the alias is recognized and produces parameter-only NonNull behavior; no specific file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100