blob: 90dc78a0373d4314a635be65cc5f8b784e322a2b [file] [log] [blame]
package checkers.quals;
/**
* Specifies the locations to which a {@link DefaultQualifier} annotation applies.
*
* @see DefaultQualifier
*/
public enum DefaultLocation {
/** Apply default annotations to all unannotated types. */
ALL,
/** Apply default annotations to all unannotated types except the raw types
* of locals. */
ALL_EXCEPT_LOCALS,
/** Apply default annotations to unannotated upper bounds: both
* explicit ones in <tt>extends</tt> clauses, and implicit upper bounds
* when no explicit <tt>extends</tt> or <tt>super</tt> clause is
* present. */
// Especially useful for parameterized classes that provide a lot of
// static methods with the same generic parameters as the class.
UPPER_BOUNDS;
}