private static @Nullable String getExecutable(@NotNull List<Detector> detectors) {
    for (Detector detector : detectors) {
      DetectedPath path = detector.getPath();
      if (path == null) return null; // not detected yet
      if (path.path != null) return path.path;
    }
    return getDefaultExecutable();
  }
private static @Nullable String getExecutable(@NotNull List<Detector> detectors)