Annotation Interface DefaultQualifiers


Specifies the annotations to be included in a type without having to provide them explicitly. This annotation permits specifying multiple default qualifiers for more than one type system. It is necessary because Java forbids multiple annotations of the same name at a single location. Example:
   @DefaultQualifiers({
       @DefaultQualifier("NonNull"),
       @DefaultQualifier(value = "Interned", locations = ALL_EXCEPT_LOCALS),
       @DefaultQualifier("Tainted")
   })
 
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      Returns:
      the default qualifier settings
      Default:
      {}