code: @Deprecated
      public ClassDoc[] importedClasses() {
          // information is not available for binary classfiles
          if (tsym.sourcefile == null) return new ClassDoc[0];
  
          ListBuffer<ClassDocImpl> importedClasses = new ListBuffer<>();
  
          Env<AttrContext> compenv = env.enter.getEnv(tsym);
          if (compenv == null) return new ClassDocImpl[0];
  
          Name asterisk = tsym.name.table.names.asterisk;
          for (JCTree t : compenv.toplevel.defs) {
              if (t.hasTag(IMPORT)) {
                  JCTree imp = ((JCImport) t).qualid;
                  if ((TreeInfo.name(imp) != asterisk) &&
                      imp.type.tsym.kind.matches(KindSelector.TYP)) {
                      importedClasses.append(
                              env.getClassDoc((ClassSymbol)imp.type.tsym));
                  }
              }
          }
  
          return importedClasses.toArray(new ClassDocImpl[importedClasses.length()]);
      }
docs: Get the list of classes declared as imported.
  These are called "single-type-import declarations" in the JLS.
  This method is deprecated in the ClassDoc interface.
  
  @return an array of ClassDocImpl representing the imported classes.
  
  @deprecated  Import declarations are implementation details that
  should not be exposed here.  In addition, not all imported
  classes are imported through single-type-import declarations.