void (@NotNull PsiUnaryExpression expression) { super.visitUnaryExpression(expression); final IElementType tokenType = expression.getOperationTokenType(); if (!tokenType.equals(JavaTokenType.PLUSPLUS) && !tokenType.equals(JavaTokenType.MINUSMINUS)) { return; } final PsiExpression operand = expression.getOperand(); if (operand == null) { return; } checkForForLoopParam(operand); checkForForeachLoopParam(operand); //sensible due to autoboxing/unboxing }