RefactoringSupportProvider (@NotNull PsiElement element) { List<RefactoringSupportProvider> providers = INSTANCE.allForLanguage(element.getLanguage()); for (RefactoringSupportProvider provider : providers) { if (provider.isAvailable(element)) { return provider; } } return null; }