code: static ClassInfoList getAllClasses(final Collection<ClassInfo> classes, final ScanSpec scanSpec) {
          return new ClassInfoList(
                  ClassInfo.filterClassInfo(classes, scanSpec, /* strictWhitelist = */ true, ClassType.ALL),
                  /* sortByName = */ true);
      }
docs: Get all classes found during the scan.
  
  @param classes
  the classes
  @param scanSpec
  the scan spec
  @return A list of all classes found during the scan, or the empty list if none.