void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { if (element instanceof PsiReferenceExpression) { PsiElement parent = element.getParent(); if (parent instanceof PsiMethodCallExpression call) { PsiExpression withArgs = AddTypeArgumentsFix.addTypeArguments(call, null); if (withArgs == null) return; parent.replace(withArgs); } } }