void (@NotNull File file, @NotNull List<? super File> files) { final File[] children = file.listFiles(); if (children != null) { // is Directory for (File child : children) { collectClassFiles(child, files); } } else if (file.getName().endsWith(CommonClassNames.CLASS_FILE_EXTENSION)) { files.add(file); } }