Annotation Type GuardedBy
-
@Target({FIELD,METHOD}) @Retention(CLASS) public @interface GuardedBy
Indicates that the annotated element should be used only while holding the specified lock.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
value
The lock that should be held, specified in the format given in the documentation for the corresponding Error Prone check.
-
-
-
Element Detail
-
value
String value
The lock that should be held, specified in the format given in the documentation for the corresponding Error Prone check.
-
-