boolean canCopyCaseValues(Branch other) {
      if (!myCanCopyCaseValues) return false;
      if (!hasPattern(this.getLabels())) return true;
      if (other.getLabels().length > 1 || this.getLabels().length > 1) {
        return false;
      }
      PsiExpression myGuardExpression = myFirstLabel.getGuardExpression();
      PsiExpression otherGuardExpression = other.myFirstLabel.getGuardExpression();
      if ((myGuardExpression == null && otherGuardExpression != null) ||
          (myGuardExpression != null && otherGuardExpression == null)) {
        return false;
      }
      if (myGuardExpression != null) {
        return createFinder(new PsiElement[]{myGuardExpression}).isDuplicate(otherGuardExpression, true) != null;
      }
      return true;
    }
boolean canCopyCaseValues(Branch other)