Annotation 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
 
- 
Optional Element Summary
Optional Elements 
- 
Element Details
- 
typeKinds
TypeKind[] typeKindsReturnsTypeKinds of types that get an upper bound. The meta-annotated annotation is the upper bound.- Returns:
 TypeKinds of types that get an upper bound
- Default:
 {}
 - 
types
Class<?>[] typesReturnsClasses that should get an upper bound. The meta-annotated annotation is the upper bound.- Returns:
 Classes that get an upper bound
- Default:
 {}
 
 -