code: public void scan(String classNamePattern, final Map<String, Class<?>> scannedClasses) throws IOException {
          scan(classNamePattern, scannedClasses::put);
      }
docs: Find all classes that match the class name pattern.
  
  @param classNamePattern the class name pattern
  @param scannedClasses the Map for scanned classes
  @throws IOException if an I/O error has occurred