code: public static final void indexAllClasses(final Indexer indexer, final List<File> classFiles) {
          classFiles.forEach(file -> {
              try {
                  final InputStream in = new FileInputStream(file);
                  try {
                      indexer.index(in);
                  } finally {
                      in.close();
                  }
              } catch (final IOException ex) {
                  throw new RuntimeException(ex);
              }
          });
      }
docs: Index all class files in the given list.
  
  @param indexer
  Indexer to use.
  @param classFiles
  List of ".class" files.