void (@NotNull ActionContext context, @NotNull PsiNewExpression expression, @NotNull ModPsiUpdater updater) { PsiJavaCodeReferenceElement classReference = expression.getClassReference(); PsiExpression qualifier = expression.getQualifier(); if (qualifier != null) { qualifier.delete(); } if (aClass != null && classReference != null) { classReference.bindToElement(aClass); } }