WordsScanner (@NotNull Language language) { for (FindUsagesProvider provider : INSTANCE.allForLanguage(language)) { WordsScanner scanner = provider.getWordsScanner(); if (scanner != null) { return scanner; } } return null; }