checkers.quals.DefaultQualifiers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-core Show documentation
Show all versions of jme3-core Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
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