Class Monitors::VariableMonitor
A variable used as a monitor.
The variable is either a lock or is used in a synchronized block.
E.g synchronized (m) { ... } or m.lock();
Import path
import semmle.code.java.ConcurrencyDirect supertypes
Indirect supertypes
Predicates
| getLocation | Gets the location of this monitor. |
| getVariable | Gets the variable being used as a monitor. |
| toString | Gets a textual representation of this element. |