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.ConcurrencyDirect 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. |