Skip to content

Commit abd9f67

Browse files
committed
Java: Update the java internal documentation for models.
1 parent 352bb5a commit abd9f67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/lib/semmle/code/java/dataflow/ExternalFlow.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* "Argument[n]", "Argument[n1..n2]", "ReturnValue":
4040
* - "": Selects a write to the selected element in case this is a field.
4141
* - "Argument[n]": Selects an argument in a call to the selected element.
42-
* The arguments are zero-indexed, and `-1` specifies the qualifier.
42+
* The arguments are zero-indexed, and `this` specifies the qualifier.
4343
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
4444
* the given range. The range is inclusive at both ends.
4545
* - "ReturnValue": Selects a value being returned by the selected element.
@@ -50,14 +50,14 @@
5050
* - "": Selects a read of a selected field, or a selected parameter.
5151
* - "Argument[n]": Selects the post-update value of an argument in a call to the
5252
* selected element. That is, the value of the argument after the call returns.
53-
* The arguments are zero-indexed, and `-1` specifies the qualifier.
53+
* The arguments are zero-indexed, and `this` specifies the qualifier.
5454
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
5555
* the given range. The range is inclusive at both ends.
5656
* - "Parameter": Selects the value of a parameter of the selected element.
5757
* "Parameter" is also allowed in case the selected element is already a
5858
* parameter itself.
5959
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
60-
* numbered parameter (zero-indexed, and `-1` specifies the value of `this`).
60+
* numbered parameter (zero-indexed, and `this` specifies the value of `this`).
6161
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter
6262
* in the given range. The range is inclusive at both ends.
6363
* - "ReturnValue": Selects the return value of a call to the selected element.

0 commit comments

Comments
 (0)