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 SummaryNested ClassesModifier and TypeClassDescriptionstatic @interfaceA wrapper annotation that makes theEnsuresLockHeldannotation repeatable.
- 
Required Element SummaryRequired Elements
- 
Element Details- 
valueString[] 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:
 
 
-