typetools / typetools/checker-framework
Whole-program inference: don't insert defaulted or implicited annotations
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
If the inferred annotation is the same as the defaulted, implicited, or any other non-explicitly-written annotation used by the checker, then whole-program inference should not insert the annotation. Currently, this only works for defaults and implicits specified via meta-annotations.
(This issue is referring to the whole-program inference in PR #612)
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 with the whole-program inference implementation described in PR #612 and trace how the checker distinguishes explicitly written annotations from defaults, implicits, and other annotations. Done means inference skips insertion whenever the inferred annotation matches any non-explicit annotation, not only meta-annotation defaults and implicits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100