All Downloads are FREE. Search and download functionalities are using the official Maven repository.

checkers.quals.DefaultLocation Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
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 extends clauses, and implicit upper bounds
     * when no explicit extends or super 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;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy