void (@NotNull PsiTypeParameter parameter) { super.visitTypeParameter(parameter); final PsiClassType[] extendsListTypes = parameter.getExtendsListTypes(); if (extendsListTypes.length != 1) { return; } final PsiClassType extendsType = extendsListTypes[0]; if (!extendsType.equalsToText(CommonClassNames.JAVA_LANG_OBJECT)) { return; } if (ignoreAnnotatedObject && extendsType.getAnnotations().length > 0) { return; } final PsiIdentifier nameIdentifier = parameter.getNameIdentifier(); if (nameIdentifier == null) { return; } registerError(nameIdentifier, Integer.valueOf(1)); }