protected boolean isValidElement(PsiElement element) { PsiConstructorCall constructorCall = (PsiConstructorCall) element; PsiMethod method = constructorCall.resolveConstructor(); PsiExpressionList argumentList = constructorCall.getArgumentList(); PsiClass targetClass = getTargetClasses(constructorCall).get(0); return !CreateFromUsageUtils.shouldCreateConstructor(targetClass, argumentList, method); }