Files
codeql/java/ql/test/library-tests/controlflow/paths/paths.ql
2018-08-30 10:48:05 +01:00

17 lines
355 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