typetools / typetools/checker-framework
AnnotationMirrors should be passed through aliasing before being used.
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
All calls to Element.getAnnotation() and Tree.getAnnotation() should be run through aliasing first.
We should search the code for all instances and make sure this happens
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
Search the codebase for all calls to Element.getAnnotation() and Tree.getAnnotation(), then trace how annotation mirrors are handled before use. Confirm that each relevant call passes through aliasing first; the work is done when no applicable direct calls remain and existing checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100