void (@NotNull PsiJavaCodeReferenceElement reference) { super.visitReferenceElement(reference); PsiMember member = getExportingMember(reference); if (member == null || isPrivate(member)) { return; } PsiElement resolved = reference.resolve(); if (!(resolved instanceof PsiClass psiClass) || resolved instanceof PsiTypeParameter) { return; } for (VisibilityChecker checker : myCheckers) { if (checker.checkVisibilityIssue(member, psiClass, reference)) { return; } } }