PsiExpression (PsiExpression expression, @NotNull TypeEvaluator evaluator) { final PsiMethodCallExpression result = (PsiMethodCallExpression)super.replace(expression, evaluator); final PsiExpression argument = result.getArgumentList().getExpressions()[0]; if (argument instanceof PsiPrefixExpression) { final PsiExpression operand = ((PsiPrefixExpression)argument).getOperand(); final PsiExpression striped = PsiUtil.skipParenthesizedExprDown(operand); if (striped != null && operand != striped) { operand.replace(striped); } } return result; }