PsiExpression (PsiExpression expression) { if (expression instanceof PsiUnaryExpression) { if (JavaTokenType.PLUSPLUS.equals(((PsiUnaryExpression)expression).getOperationTokenType())) { return ((PsiUnaryExpression)expression).getOperand(); } } else if (expression instanceof PsiAssignmentExpression assignment && ExpressionUtils.isLiteral(extractAddend(assignment), 1)) { return assignment.getLExpression(); } return null; }