@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface DefaultQualifierInHierarchy
Other defaults can be specified for a checker via the DefaultFor
meta-annotation,
which takes precedence over DefaultQualifierInHierarchy
, or via GenericAnnotatedTypeFactory.addCheckedCodeDefaults()
.
The DefaultQualifier
annotation, which targets Java code elements, takes precedence
over DefaultQualifierInHierarchy
.
Each type qualifier hierarchy may have at most one qualifier marked as DefaultQualifierInHierarchy
.
DefaultQualifier