Top Annotations
[default module]

Package com.google.errorprone.annotations.concurrent


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
GuardedBy

Indicates that the annotated element should be used only while holding the specified lock.

public @interface
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 with String#hashCode).

public @interface
LockMethod

Deprecated the correctness of this annotation is not enforced; it will soon be removed.
The method to which this annotation is applied acquires one or more locks.
public @interface
UnlockMethod

Deprecated the correctness of this annotation is not enforced; it will soon be removed.
The method to which this annotation is applied releases one or more locks.