Files
codeql/java/ql/test/kotlin/library-tests/controlflow/paths/paths.ql

15 lines
350 B
Plaintext

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