code: @Override // defined by AbstractDoclet
      protected void generateClassFiles(SortedSet<TypeElement> arr, ClassTree classtree)
              throws DocletException {
          List<TypeElement> list = new ArrayList<>(arr);
          ListIterator<TypeElement> iterator = list.listIterator();
          TypeElement klass = null;
          while (iterator.hasNext()) {
              TypeElement prev = iterator.hasPrevious() ? klass : null;
              klass = iterator.next();
              TypeElement next = iterator.nextIndex() == list.size()
                      ? null : list.get(iterator.nextIndex());
  
              if (utils.isHidden(klass) ||
                      !(configuration.isGeneratedDoc(klass) && utils.isIncluded(klass))) {
                  continue;
              }
  
              if (utils.isAnnotationType(klass)) {
                  AbstractBuilder annotationTypeBuilder =
                      configuration.getBuilderFactory()
                          .getAnnotationTypeBuilder(klass,
                              prev == null ? null : prev.asType(),
                              next == null ? null : next.asType());
                  annotationTypeBuilder.build();
              } else {
                  AbstractBuilder classBuilder =
                      configuration.getBuilderFactory().getClassBuilder(klass,
                              prev, next, classtree);
                  classBuilder.build();
              }
          }
      }
docs: {@inheritDoc}