code: public AnnotationTypeDoc[] annotationTypes() {
          ListBuffer<AnnotationTypeDocImpl> ret = new ListBuffer<>();
          for (ClassDocImpl c : getClasses(true)) {
              if (c.isAnnotationType()) {
                  ret.append((AnnotationTypeDocImpl)c);
              }
          }
          return ret.toArray(new AnnotationTypeDocImpl[ret.length()]);
      }
docs: Get included annotation types in this package.
  
  @return included annotation types in this package.