is Qualifier Annotation - Java java.lang.annotation

Java examples for java.lang.annotation:Annotation Attribute

Description

is Qualifier Annotation

Demo Code


import javax.inject.Qualifier;
import java.lang.annotation.Annotation;

public class Main{
    public static boolean isQualifier(Annotation annotation) {
        return annotation.annotationType().isAnnotationPresent(
                Qualifier.class);
    }//from   w  w  w.  j a  v  a  2 s  .c o  m
}

Related Tutorials