protected static void setDocumentTooLarge(@NotNull Document document, boolean tooLarge) {
    document.putUserData(BIG_FILE_PREVIEW, tooLarge ? Boolean.TRUE : null);
  }
protected static void setDocumentTooLarge(@NotNull Document document, boolean tooLarge)