code: public static File[] getDirFiles(final FilenameFilter aFilter) {
          final ArrayList<File> list = new ArrayList<>();
  
          for (final String filename : System.getProperty(CLASSPATH).split(DELIMETER)) {
              final File file = new File(filename);
  
              LOGGER.debug(MessageCodes.UTIL_003, file, file.isDirectory() ? YES : NO);
  
              if (aFilter.accept(file.getParentFile(), file.getName()) && file.isDirectory()) {
                  LOGGER.debug(MessageCodes.UTIL_004, file.getAbsolutePath());
                  list.add(file);
              }
          }
  
          return list.toArray(new File[0]);
      }
docs: Returns an array of all the directories in the system classpath that match the supplied
  <code>FilenameFilter</code>
  
  @param aFilter A filter to use while retrieving directories
  @return The directories from the system classpath that match the supplied <code>FilenameFilter</code>