typetools / typetools/checker-framework
@EnsuresQualifierIf annotation that supports annotation arguments
Open
@panacekcz is already working on this.
Since Mar 13, 2018.
enhancement
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 440
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 134
Description
The Checker Framework needs a variant of @EnsuresQualifierIf that establishes an annotation with arguments.
Perhaps this could be done by adding a qualifierArgs field that defaults to null.
This would eliminate the need for:
- RegexTransfer special cases for
isRegex(String, int)andasRegex(String, int). - KeyForTransfer special cases for
Map.putandMap.containsKey. - 38
@SuppressWarningsin Daikon, related to the KeyFor Checker - At least 12
@SuppressWarningsin guava, related to the Index Checker.
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.
Assessment
This issue has not been assessed yet.