void (ArrayList<UsageInfo> results) { Set<Language> languages = new HashSet<>(); for (UsageInfo result : results) { PsiElement element = result.getElement(); if (element != null) { languages.add(element.getLanguage()); } } for (Language language : languages) { List<MoveInnerHandler> handlers = MoveInnerHandler.EP_NAME.allForLanguage(language); for (MoveInnerHandler handler : handlers) { handler.preprocessUsages(results); } } }