private static @Nullable JpsAntInstallationImpl bundledAnt(File antHome, String antJarsHome) {
    if (!antHome.exists()) {
      LOG.debug("Bundled Ant not found at " + antHome.getAbsolutePath());
      return null;
    }

    return new JpsAntInstallationImpl(antHome, "Bundled Ant", emptyList(), singletonList(antJarsHome));
  }
private static @Nullable JpsAntInstallationImpl bundledAnt(File antHome, String antJarsHome)