private @NotNull List<PsiSymbolReferenceProviderBean> byHostClassInner(@NotNull Class<?> key) {
    List<PsiSymbolReferenceProviderBean> result = new SmartList<>();
    for (PsiSymbolReferenceProviderBean bean : myBeans) {
      if (bean.getHostElementClass().isAssignableFrom(key)) {
        result.add(bean);
      }
    }
    return result;
  }
private @NotNull List<PsiSymbolReferenceProviderBean> byHostClassInner(@NotNull Class<?> key)