void (@NotNull PsiSwitchLabelStatement from, @NotNull PsiSwitchLabelStatement to, boolean mergeWithDefault) { @Nullable PsiCaseLabelElementList fromCaseLabelElementList = getCaseLabelElementList(from); @Nullable PsiCaseLabelElementList toCaseLabelElementList = getCaseLabelElementList(to); DuplicateBranchesInSwitchInspection.copyCaseValues(fromCaseLabelElementList, toCaseLabelElementList, mergeWithDefault); }