Skip to content

Commit

Permalink
Improve @PolyRegex description (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong authored Aug 8, 2023
1 parent a9a24c5 commit 3e84376
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
/**
* A polymorphic qualifier for the Regex type system.
*
* <p>Any method written using {@link PolyRegex} conceptually has two versions: one in which every
* instance of {@link PolyRegex} has been replaced by {@link Regex}, and one in which every instance
* of {@link PolyRegex} has been replaced by {@link UnknownRegex}.
* <p>Any method written using {@link PolyRegex} conceptually has multiple versions: one in which
* all instances of {@link PolyRegex} in the method signature have been replaced by one of the
* following qualifiers: {@link Regex}, which takes an integer argument to represent different
* capturing groups; {@link PartialRegex}, which takes a string argument to represent different
* partial regexes; {@link UnknownRegex}; and {@link RegexBottom}.
*
* @checker_framework.manual #regex-checker Regex Checker
* @checker_framework.manual #qualifier-polymorphism Qualifier polymorphism
Expand Down

0 comments on commit 3e84376

Please sign in to comment.