public static boolean isSelectionButtonDown(@NotNull MouseEvent e) {
    return e.isShiftDown() || e.isControlDown() || e.isMetaDown();
  }
public static boolean isSelectionButtonDown(@NotNull MouseEvent e)