public static @Nullable File findEcjJarFile() {
    File result = new File(PathManager.getHomePath(), "plugins/java/lib/ecj/eclipse.jar");
    if (result.exists()) {
      return result;
    }

    for (String relativeDirectoryPath : new String[]{"plugins/java/lib", "lib", "community/lib"}) {
      File lib = new File(PathManager.getHomePath(), relativeDirectoryPath);
      File[] children = lib.listFiles((dir, name) -> name.startsWith(JAR_FILE_NAME_PREFIX) && name.endsWith(JAR_FILE_NAME_SUFFIX));
      if (children != null && children.length > 0) {
        return children[0];
      }
    }
    return null;
  }
public static @Nullable File findEcjJarFile()