Package com.sun.javadoc

Examples of com.sun.javadoc.AnnotationDesc.annotationType()


   */
  private void checkAnnotations(Doc doc, AnnotationDesc[] annotations) {
    for (int i=0; i < annotations.length; i++) {
      AnnotationDesc annotationDesc = annotations[i];
      boolean isDocumented = false;
      for (AnnotationDesc a : annotationDesc.annotationType().annotations()) {
        if (java.lang.annotation.Documented.class.getName().equals(a.annotationType().qualifiedName())) {
          isDocumented = true;
        }
      }
      checkReference(doc, annotations[i], isDocumented ? WARNING_ANNOTATION : WARNING_PRIVATE_ANNOTATION);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.