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

javax.annotation.meta.TypeQualifierValidator Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package javax.annotation.meta;

import java.lang.annotation.Annotation;

import javax.annotation.Nonnull;

public interface TypeQualifierValidator {
    /**
     * Given a type qualifier, check to see if a known specific constant value
     * is an instance of the set of values denoted by the qualifier.
     * 
     * @param annotation
     *                the type qualifier
     * @param value
     *                the value to check
     * @return a value indicating whether or not the value is an member of the
     *         values denoted by the type qualifier
     */
    public @Nonnull
    When forConstantValue(@Nonnull A annotation, Object value);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy