boolean (PsiClass psiClass) { PsiMethodReferenceExpression reference = getMethodReference(); if (reference != null && reference.isConstructor()) { return false; } return super.canBeTargetClass(psiClass); }