1package checkers.quals;
2
3/**
4 * Specifies the locations to which a {@link DefaultQualifier} annotation applies.
5 *
6 * @see DefaultQualifier
7 */
8public enum DefaultLocation {
9
10    /** Apply default annotations to all unannotated types. */
11    ALL,
12
13    /** Apply default annotations to all unannotated types except the raw types
14     * of locals. */
15    ALL_EXCEPT_LOCALS,
16
17    /** Apply default annotations to unannotated upper bounds:  both
18     * explicit ones in <tt>extends</tt> clauses, and implicit upper bounds
19     * when no explicit <tt>extends</tt> or <tt>super</tt> clause is
20     * present. */
21    // Especially useful for parameterized classes that provide a lot of
22    // static methods with the same generic parameters as the class.
23    UPPER_BOUNDS;
24
25}
26