Annotation Interface EnsuresLockHeld
@Documented
@Retention(RUNTIME)
@Target({METHOD,CONSTRUCTOR})
@PostconditionAnnotation(qualifier=LockHeld.class)
@InheritedAnnotation
@Repeatable(List.class)
public @interface EnsuresLockHeld
Indicates that the given expressions are held if the method terminates successfully.
- See Also:
 - See the Checker Framework Manual:
 - Lock Checker, Example use of @EnsuresLockHeld
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceA wrapper annotation that makes theEnsuresLockHeldannotation repeatable. - 
Required Element Summary
Required Elements 
- 
Element Details
- 
value
String[] valueReturns Java expressions whose values are locks that are held after successful method termination.- Returns:
 - Java expressions whose values are locks that are held after successful method termination
 - See Also:
 
 
 -