void (@NotNull PsiClass aClass) { String acceptedVisibility = aClass.getContainingClass() == null ? myUnusedSymbolInspection.getClassVisibility() : myUnusedSymbolInspection.getInnerClassVisibility(); if (compareVisibilities(aClass, acceptedVisibility)) { processClass(myProject, aClass); } }