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

checkers.quals.DefaultQualifiers Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
package checkers.quals;

import java.lang.annotation.Documented;
import static java.lang.annotation.ElementType.*;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 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 DefaultQualifier */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({CONSTRUCTOR, METHOD, FIELD, LOCAL_VARIABLE, PARAMETER, TYPE}) public @interface DefaultQualifiers { /** @return the default qualifier settings */ DefaultQualifier[] value() default { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy