CodeQL library for Java/Kotlin
codeql/java-all 7.8.5-dev (changelog, source)
Search

Predicate Monitors::getNodeToBeDominated

Gets the control flow node that must dominate e when e is synchronized on a lock.

Import path

import semmle.code.java.Concurrency
ControlFlowNode getNodeToBeDominated(Expr e)