private static @Nullable PsiElement moveLabelElementAfter(@NotNull PsiSwitchLabelStatement labelStatement,
                                                            @NotNull PsiCaseLabelElement labelElement) {
    Branch branch = Branch.fromLabel(labelStatement);
    if (branch == null) {
      return null;
    }

    PsiSwitchLabelStatement newLabel = branch.addLabelAfter(labelElement, labelStatement);
    return branch.copyTo(newLabel);
  }
private static @Nullable PsiElement moveLabelElementAfter(@NotNull PsiSwitchLabelStatement labelStatement,
                                                            @NotNull PsiCaseLabelElement labelElement)