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 ) ; } } ) ; }
Index all class files in the given list .