public void addJarWithDependencies(final JarInfo jarInfo) {
    if (myJars.add(jarInfo)) {
      final DestinationInfo destination = jarInfo.getDestination();
      if (destination instanceof JarDestinationInfo) {
        addJarWithDependencies(((JarDestinationInfo)destination).getJarInfo());
      }
      for (Pair<String, Object> pair : jarInfo.getContent()) {
        if (pair.getSecond() instanceof JarInfo) {
          addJarWithDependencies((JarInfo)pair.getSecond());
        }
      }
    }
  }
public void addJarWithDependencies(final JarInfo jarInfo)