void (@NotNull PsiNewExpression expression) { super.visitNewExpression(expression); if (ignoreObjectConstruction) { return; } if (ignoreUncompilable && expression.isArrayCreation()) { //array creation can (almost) never be generic return; } final PsiJavaCodeReferenceElement classReference = expression.getClassOrAnonymousClassReference(); checkReferenceElement(classReference); }