File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,24 +21,24 @@ private module Frameworks {
2121}
2222
2323/**
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.
2525 *
2626 * Extend this class and override `returnsValue` to add additional value-preserving steps through a
2727 * method that should be added to the basic local flow step relation.
2828 *
2929 * These steps will be visible for all global data-flow purposes, as well as via
3030 * `DataFlow::Node.getASuccessor` and other related functions exposing intraprocedural dataflow.
3131 */
32- abstract class ValuePreservingCallable extends Callable {
32+ abstract class ValuePreservingMethod extends Method {
3333 /**
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`.
3535 * `arg` is a parameter index, or is -1 to indicate the qualifier.
3636 */
3737 abstract predicate returnsValue ( int arg ) ;
3838}
3939
4040/**
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;`)
4242 *
4343 * Extend this class and override `returnsValue` to add additional value-preserving steps through a
4444 * method that should be added to the basic local flow step relation.
You can’t perform that action at this time.
0 commit comments