void (@NotNull PsiIdentifier identifier) { PsiElement parent = identifier.getParent(); if (parent instanceof PsiMember && parent instanceof PsiNameIdentifierOwner && ((PsiNameIdentifierOwner)parent).getNameIdentifier() == identifier) { checkMember((PsiMember)parent, identifier, holder); } else if (parent != null && parent.getParent() instanceof PsiJavaModule) { checkJavaModule((PsiJavaModule)parent.getParent(), holder); } super.visitIdentifier(identifier); }