void (@NotNull PsiUnaryExpression prefixExpression) { if (assigned) { return; } super.visitUnaryExpression(prefixExpression); if (!checkUnaryExpressions) { return; } final IElementType tokenType = prefixExpression.getOperationTokenType(); if (!tokenType.equals(JavaTokenType.PLUSPLUS) && !tokenType.equals(JavaTokenType.MINUSMINUS)) { return; } final PsiExpression operand = prefixExpression.getOperand(); for (PsiVariable variable : variables) { if (ExpressionUtils.isReferenceTo(operand, variable)) { assigned = true; break; } } }