A monitor is any object that is used to synchronize access to a shared resource.
This includes locks as well as variables used in synchronized blocks (including this).
Import path
import semmle.code.java.ConcurrencyDirect supertypes
Known direct subtypes
Predicates
| getLocation | Gets the location of this monitor. |
| toString | Gets a textual representation of this element. |