Static member guarded by instance field or this
@GuardedBy annotations on
static fields or methods in which the guard is either a non-static field or
Guarding a static element with a non-static element may result in excessive concurrency, multiple threads may be able to access the guarded field simultaneously by locking in different object contexts.
@GuardedBy annotations are:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3