Top Description Methods
com.google.errorprone.annotations.concurrent

public @Interface UnlockMethod

extends Annotation
Annotations
@Target:METHOD
@Retention:CLASS
@Deprecated
Static Imports
java.lang.annotation.ElementType.METHOD, .RetentionPolicy.CLASS

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. The caller must hold the locks when the function is entered, and will not hold them when it completes.

This annotation does not apply to built-in (synchronization) locks, which cannot be released without being acquired in the same method.

The arguments determine which locks the annotated method releases:

Method Summary

Modifier and TypeMethod and Description
public String[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()