typetools / typetools/checker-framework

Add @Contravariant as a complement to @Covariant

Open
#1,970 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.1k
Forks
440
Avg merge
1d 12h
Merged PRs (30d)
134

Description

The Checker Framework supports a @Covariant annotation. It should support a @Contravariant annotation as well.

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

Start by locating the existing @Covariant annotation and its handling in the Checker Framework, then inspect any related tests or annotation-processing entry points. Done means the framework supports a corresponding @Contravariant annotation with behavior covered by tests, but the issue does not identify specific files or test cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.