code: public static String[] getDirs() {
          final ArrayList<String> 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 (file.isDirectory()) {
                  list.add(file.getAbsolutePath());
              }
          }
  
          return list.toArray(new String[0]);
      }
docs: Returns an String array of all the directory names in the system classpath
  
  @return The names of directories from the system classpath