void (@NotNull GrClassTypeElement typeElement) { super.visitClassTypeElement(typeElement); final GrCodeReferenceElement ref = typeElement.getReferenceElement(); final GrTypeArgumentList argList = ref.getTypeArgumentList(); if (argList == null) return; final GrTypeElement[] elements = argList.getTypeArgumentElements(); for (GrTypeElement element : elements) { checkTypeArgForPrimitive(element, GroovyBundle.message("primitive.type.parameters.are.not.allowed")); } }