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