Annotation 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 Classes
    Modifier and Type
    Class
    Description
    static @interface 
    A wrapper annotation that makes the EnsuresLockHeld annotation repeatable.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns Java expressions whose values are locks that are held after successful method termination.
  • Element Details

    • value

      String[] value
      Returns 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: