void (@NotNull PsiReference reference, @NotNull PsiClass targetClass) { PsiElement referringElement = reference.getElement(); if (referringElement.getParent() instanceof GrMethodCall && referringElement instanceof GrReferenceExpression && PsiUtil.isNewified(referringElement)) { handleNewifiedClass(referringElement, targetClass); } else { super.bindReference(reference, targetClass); } }