File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
java/ql/lib/semmle/code/java Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ private import semmle.code.java.frameworks.JavaxAnnotations
1414 *
1515 * Extend this class to refine existing API models. If you want to model new APIs,
1616 * extend `RegexMatch::Range` instead.
17+ *
18+ * These are either method calls, which return `true` when there is a match, or
19+ * annotations, which are considered to match if they are present.
1720 */
1821class RegexMatch extends Expr instanceof RegexMatch:: Range {
1922 /** Gets the expression for the regex being executed by this node. */
@@ -36,6 +39,9 @@ module RegexMatch {
3639 *
3740 * Extend this class to model new APIs. If you want to refine existing API models,
3841 * extend `RegexMatch` instead.
42+ *
43+ * These are either method calls, which return `true` when there is a match, or
44+ * annotations, which are considered to match if they are present.
3945 */
4046 abstract class Range extends Expr {
4147 /** Gets the expression for the regex being executed by this node. */
You can’t perform that action at this time.
0 commit comments