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

Member predicate ClassAnnotatedAsThreadSafe::singleMonitorMismatch

Holds if the field f has more than one access, all locked by a single monitor, but different monitors are used.

predicate singleMonitorMismatch(ExposedField f)