< prev index next >

src/java.base/share/classes/sun/reflect/annotation/AnnotationType.java

Print this page

        

*** 96,106 **** /** * Sole constructor. * * @param annotationClass the class object for the annotation type ! * @throw IllegalArgumentException if the specified class object for * does not represent a valid annotation type */ private AnnotationType(final Class<? extends Annotation> annotationClass) { if (!annotationClass.isAnnotation()) throw new IllegalArgumentException("Not an annotation type"); --- 96,106 ---- /** * Sole constructor. * * @param annotationClass the class object for the annotation type ! * @throws IllegalArgumentException if the specified class object for * does not represent a valid annotation type */ private AnnotationType(final Class<? extends Annotation> annotationClass) { if (!annotationClass.isAnnotation()) throw new IllegalArgumentException("Not an annotation type");
< prev index next >