Annotation Interface EnsuresLockHeld.List
- Enclosing class:
EnsuresLockHeld
@Documented
@Retention(RUNTIME)
@Target({METHOD,CONSTRUCTOR})
@PostconditionAnnotation(qualifier=LockHeld.class)
@InheritedAnnotation
public static @interface EnsuresLockHeld.List
A wrapper annotation that makes the
EnsuresLockHeld
annotation repeatable.
Programmers generally do not need to write this. It is created by Java when a programmer
writes more than one EnsuresLockHeld
annotation at the same location.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionReturn the repeatable annotations.
-
Element Details
-
value
EnsuresLockHeld[] valueReturn the repeatable annotations.- Returns:
- the repeatable annotations
-