Skip to content

Commit 2e0f244

Browse files
committed
Improve QLDoc on RegexMatch.getName()
1 parent c709958 commit 2e0f244

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

java/ql/lib/semmle/code/java/Concepts.qll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ class RegexMatch extends Expr instanceof RegexMatch::Range {
3434
Expr getString() { result = super.getString() }
3535

3636
/**
37-
* Gets the name of this regex match, typically the name of an executing method.
38-
* This is used for nice alert messages and should include the module if possible.
37+
* Gets the name of this regex match, typically the name of an executing
38+
* method. This is used for nice alert messages and should include the
39+
* type-qualified name if possible.
3940
*/
4041
string getName() { result = super.getName() }
4142
}
@@ -59,8 +60,9 @@ module RegexMatch {
5960
abstract Expr getString();
6061

6162
/**
62-
* Gets the name of this regex match, typically the name of an executing method.
63-
* This is used for nice alert messages and should include the module if possible.
63+
* Gets the name of this regex match, typically the name of an executing
64+
* method. This is used for nice alert messages and should include the
65+
* type-qualified name if possible.
6466
*/
6567
abstract string getName();
6668
}

0 commit comments

Comments
 (0)