private static File @NotNull [] getChildren(@NotNull File directory) {
    File[] files = directory.listFiles();
    return files != null ? files : ArrayUtilRt.EMPTY_FILE_ARRAY;
  }
private static File @NotNull [] getChildren(@NotNull File directory)