Module-level `@NotNullByDefault`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start with the @NotNullByDefault annotation declaration and inspect how its current TYPE and PACKAGE targets are handled. Check any annotation processor, IDE, or language-server handling present in the repository, then verify that MODULE is accepted and module-level defaults are processed consistently.
Written by the indexing model from the issue text.
Description
In July the @NotNullByDefault annotation was added. This annotation can be used with target TYPE and PACKAGE, but sometimes you would want to have your fields, parameters and return types in (almost) every package in your module be default not null.
Therefore I propose to add the MODULE element type to the target annotation
So: @Target(value={TYPE,PACKAGE,MODULE}) instead of @Target(value={TYPE,PACKAGE})
This would also require changes in any annotation processor, IDE or language server that acts on the @NotNullByDefault. I don't know to what extent that is part of this repo.
- Dominant language
- Kotlin
- Stars
- 464
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
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.
More from JetBrains/java-annotations
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
JetBrains/java-annotations#123 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JetBrains/java-annotations#134 · 6 comments · 1 reaction ·
-
JetBrains/java-annotations#125 · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JetBrains/java-annotations#122 · 2 comments ·
-
JetBrains/java-annotations#117 · 4 comments · 1 assignee ·
All issues in JetBrains/java-annotations
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Anthonyy232/Paperize#614 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bitcoindevkit/bdk-ffi#1125 ·
-
Issue: Bug
Difficulty 1/5 Under an hour Newbie friendliness 91/100
OpenAPITools/openapi-generator#24978 ·
-
helsemelding-json-schema json-schema-core
Difficulty 2/5 1-3 hours Newbie friendliness 68/100