Package com.google.errorprone.annotations.concurrent
-
Annotation Types Summary Annotation Type Description GuardedBy Indicates that the annotated element should be used only while holding the specified lock.LazyInit Use this annotation on any static or field that will be initialized lazily, where races yield no semantic difference in the code (as, for example, is the case withString.hashCode()
).LockMethod Deprecated. the correctness of this annotation is not enforced; it will soon be removed.UnlockMethod Deprecated. the correctness of this annotation is not enforced; it will soon be removed.