boolean (PsiElement element) { final PsiReferenceExpression operandExpression = IncrementUtil.getIncrementOrDecrementOperand(element); final PsiExpressionStatement expressionStatement = ObjectUtils.tryCast(element.getParent(), PsiExpressionStatement.class); if (operandExpression != null && expressionStatement != null) { final PsiVariable variable = resolveSimpleVariableReference(operandExpression); if (variable != null) { if (findSingleReadOccurrence(expressionStatement, variable) != null) { return true; } } } return false; }