typetools / typetools/checker-framework
Support Java 21 and 22 constructs in `.ajava` files
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
This requires support from JavaParser (or switching to a different parsing approach). Right now in certain places we bail out for these Java versions, e.g.:
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 at the linked BaseTypeVisitor.java location and investigate where Java 21 and 22 constructs in .ajava files are rejected. Check whether JavaParser can provide the required support or whether a different parsing approach is needed; done means these constructs no longer trigger the reported version bailouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100