void (@NotNull T element, @NotNull TokenConsumer consumer) { PsiIdentifier psiIdentifier = PsiTreeUtil.getChildOfType(element, PsiIdentifier.class); if (psiIdentifier == null) return; String identifier = psiIdentifier.getText(); if (identifier == null) return; if (nameSeemsDerived(identifier, getTypeText(element))) { return; } if (element instanceof PsiClass) { for (PsiClassType superType : ((PsiClass)element).getSuperTypes()) { if (nameSeemsDerived(identifier, getClassName(superType))) { return; } } } myIdentifierTokenizer.tokenize(psiIdentifier, consumer); }