private static @Nullable PsiStatement create(@NotNull PsiElementFactory factory,
                                               @NotNull PsiIfStatement ifStatement,
                                               @NotNull PsiElement element,
                                               CommentTracker tracker) {

    final PsiExpression condition = PsiUtil.skipParenthesizedExprDown(ifStatement.getCondition());

    if (!(condition instanceof PsiPolyadicExpression polyadicExpression)) {
      return null;
    }

    final PsiExpression operand = findOperand(element, polyadicExpression);

    if (operand == null) {
      return null;
    }

    PsiExpression leave = removeOperand(factory, polyadicExpression, operand, tracker);
    return SplitConditionUtil.create(factory, ifStatement, operand, leave, polyadicExpression.getOperationTokenType(), tracker);
  }
private static @Nullable PsiStatement create(@NotNull PsiElementFactory factory,
                                               @NotNull PsiIfStatement ifStatement,
                                               @NotNull PsiElement element,
                                               CommentTracker tracker)