Files
codeql/java/ql/test-kotlin2/library-tests/controlflow/paths/paths.ql
Owen Mansel-Chan 5b575113c3 Update test-kotlin2
2024-12-10 15:56:15 +00:00

15 lines
357 B
Plaintext

import java
import semmle.code.java.controlflow.Paths
class PathTestConf extends ActionConfiguration {
PathTestConf() { this = "PathTestConf" }
override predicate isAction(ControlFlowNode node) {
node.asExpr().(MethodCall).getMethod().hasName("action")
}
}
from Callable c, PathTestConf conf
where conf.callableAlwaysPerformsAction(c)
select c