docs: public static List getClasspathArchives()
      {
          List archives = new ArrayList();
          List components = getClasspathComponents();
          for (Iterator i = components.iterator(); i.hasNext();)
          {
              String possibleDir = (String) i.next();
              File file = new File(possibleDir);
              if (file.isFile()
                  && (file.getName().endsWith(".jar") || file.getName().endsWith(".zip")))
              {
                  archives.add(possibleDir);
              }
          }
          return archives;
      }