test/langtools/tools/javac/tree/NoPrivateTypesExported.java
changeset 58713 ad69fd32778e
parent 47482 4a35a00eb001
equal deleted inserted replaced
58712:14e098407bb0 58713:ad69fd32778e
   175         for (AnnotationMirror mirror : annotations) {
   175         for (AnnotationMirror mirror : annotations) {
   176             Element annotationElement = mirror.getAnnotationType().asElement();
   176             Element annotationElement = mirror.getAnnotationType().asElement();
   177 
   177 
   178             if (annotationElement.getAnnotation(Documented.class) == null) {
   178             if (annotationElement.getAnnotation(Documented.class) == null) {
   179                 note("Ignoring undocumented annotation: " + mirror.getAnnotationType());
   179                 note("Ignoring undocumented annotation: " + mirror.getAnnotationType());
       
   180                 continue;
   180             }
   181             }
   181 
   182 
   182             verifyTypeAcceptable(mirror.getAnnotationType(), acceptable);
   183             verifyTypeAcceptable(mirror.getAnnotationType(), acceptable);
   183 
   184 
   184             for (AnnotationValue value : mirror.getElementValues().values()) {
   185             for (AnnotationValue value : mirror.getElementValues().values()) {