@Override
    protected @Nullable PsiExpression getModifiedArgument(PsiExpression expression, PsiType toType)
      throws IncorrectOperationException {
      PsiMethod targetMethod = findOnlyMethod(expression.getType(), toType);
      if (targetMethod == null) return null;
      var replacement = (PsiMethodCallExpression)JavaPsiFacade.getElementFactory(expression.getProject())
        .createExpressionFromText("x." + targetMethod.getName() + "()", expression);
      Objects.requireNonNull(replacement.getMethodExpression().getQualifierExpression()).replace(expression);
      return replacement;
    }
@Override
    protected @Nullable PsiExpression getModifiedArgument(PsiExpression expression, PsiType toType)