typetools / typetools/checker-framework

Support @ParametersAreNonnullByDefault

Open
#1,880 2 comments 4 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.