typetools / typetools/checker-framework

AnnotationMirrors should be passed through aliasing before being used.

Open
#493 1 comment 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.