code: public List<ClassDoc> subs(ClassDoc cd, boolean isEnum) {
          if (isEnum) {
              return get(subEnums, cd);
          } else if (cd.isAnnotationType()) {
              return get(subAnnotationTypes, cd);
          } else if (cd.isInterface()) {
              return get(subinterfaces, cd);
          } else if (cd.isClass()) {
              return get(subclasses, cd);
          } else {
              return null;
          }
  
      }
docs: Return the sub-class/interface list for the class/interface passed.
  
  @param cd class/interface whose sub-class/interface list is required.
  @param isEnum true if the subclasses should be forced to come from the
  enum tree.