void (@NotNull PsiElement node) { Language language = null; if (node instanceof PsiFile) { FileType fileType = ((PsiFile)node).getFileType(); if (fileType instanceof LanguageFileType) { language = ((LanguageFileType)fileType).getLanguage(); } } if (language == null) language = node.getLanguage(); if ((myForIndexing || mySettings.SELECTED_PROFILES.contains(language.getDisplayName())) && myDuplicatesProfile.isMyLanguage(language)) { myTreeHasher.hash(node, this); } }