public static ProcessInfo @NotNull [] getProcessList() {
    List<ProcessInfo> result = doGetProcessList();
    return result.toArray(ProcessInfo.EMPTY_ARRAY);
  }
public static ProcessInfo @NotNull [] getProcessList()