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

Class Monitors::ClassMonitor

A class used as a monitor. This is achieved by marking a static method as synchronized.

Import path

import semmle.code.java.Concurrency

Direct supertypes

Indirect supertypes

Predicates

getClassType

Gets the class being used as a monitor.

getLocation

Gets the location of this monitor.

toString

Gets a textual representation of this element.