Collection<PsiSymbolReferenceProvider> (@NotNull Class<?> targetClass) { List<PsiSymbolReferenceProvider> result = new SmartList<>(); for (XmlNamedReferenceProviderBean bean : EP_NAME.getExtensionList()) { if (targetClass.isAssignableFrom(bean.getResolveTargetClass())) { result.add(bean.getInstance()); } } return result; }