mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
10 lines
298 B
Plaintext
10 lines
298 B
Plaintext
import default
|
|
import semmle.code.java.controlflow.Dominance
|
|
|
|
from Method func, ControlFlowNode dominator, ControlFlowNode node
|
|
where
|
|
iDominates(dominator, node) and
|
|
dominator.getEnclosingStmt().getEnclosingCallable() = func and
|
|
func.getDeclaringType().hasName("Test")
|
|
select dominator, node
|