void (@NotNull PsiElement element) { final PsiPostfixExpression postfixExpression = (PsiPostfixExpression)element; final PsiExpression operand = postfixExpression.getOperand(); CommentTracker commentTracker = new CommentTracker(); final String operandText = commentTracker.text(operand); final IElementType tokenType = postfixExpression.getOperationTokenType(); if (JavaTokenType.PLUSPLUS.equals(tokenType)) { PsiReplacementUtil.replaceExpression(postfixExpression, operandText + '=' + operandText + "+1", commentTracker); } else if (JavaTokenType.MINUSMINUS.equals(tokenType)) { PsiReplacementUtil.replaceExpression(postfixExpression, operandText + '=' + operandText + "-1", commentTracker); } }