private void makeNullSafe(PsiExpression expression, PsiMethodCallExpression result) {
      if (!myNullables.contains(expression)) return;
      PsiExpression qualifier = getDeepestQualifierCall(result).getMethodExpression().getQualifierExpression();
      if (qualifier == null) return;
      String builder = qualifier.getText();
      PsiElementFactory factory = JavaPsiFacade.getElementFactory(result.getProject());
      qualifier
        .replace(factory.createExpressionFromText("(" + builder + "==null?new " + myTargetType + "(\"null\"):" + builder + ")", qualifier));
      result.replace(factory.createExpressionFromText(builder + "=" + result.getText(), result));
    }
private void makeNullSafe(PsiExpression expression, PsiMethodCallExpression result)