File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/ql/src/semmle/code/java/dataflow Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,24 @@ private module Frameworks {
21
21
}
22
22
23
23
/**
24
- * A method or constructor that returns the exact value of one of its parameters or the qualifier.
24
+ * A method that returns the exact value of one of its parameters or the qualifier.
25
25
*
26
26
* Extend this class and override `returnsValue` to add additional value-preserving steps through a
27
27
* method that should be added to the basic local flow step relation.
28
28
*
29
29
* These steps will be visible for all global data-flow purposes, as well as via
30
30
* `DataFlow::Node.getASuccessor` and other related functions exposing intraprocedural dataflow.
31
31
*/
32
- abstract class ValuePreservingCallable extends Callable {
32
+ abstract class ValuePreservingMethod extends Method {
33
33
/**
34
- * Holds if this callable returns precisely the value passed into argument `arg`.
34
+ * Holds if this method returns precisely the value passed into argument `arg`.
35
35
* `arg` is a parameter index, or is -1 to indicate the qualifier.
36
36
*/
37
37
abstract predicate returnsValue ( int arg ) ;
38
38
}
39
39
40
40
/**
41
- * A method or constructor that returns the exact value of its qualifier (e.g., `return this;`)
41
+ * A method that returns the exact value of its qualifier (e.g., `return this;`)
42
42
*
43
43
* Extend this class and override `returnsValue` to add additional value-preserving steps through a
44
44
* method that should be added to the basic local flow step relation.
You can’t perform that action at this time.
0 commit comments