Annotation Type UpperBoundFor
-
@Documented @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface UpperBoundFor
A meta-annotation applied to the declaration of a type qualifier. It specifies that the annotation should be the upper bound for- all uses of a particular type, and
- all uses of a particular kind of type.
@DefaultFor(classes=String.class) @interface MyAnno {}
The upper bound applies to every occurrence of the given classes and also to every occurrence of the given type kinds.
- See the Checker Framework Manual:
- Upper bound of qualifiers on uses of a given type