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