public static void copyTextToClipboard(@NotNull String text) {
    try {
      getInstance().setContents(new StringSelection(text));
    } catch (Exception ignore) { }
  }
public static void copyTextToClipboard(@NotNull String text)