@Override
  public int getElementPriority(@NotNull Object element,
                                @NotNull String searchPattern) {
    return myDelegate.getElementPriority(getItem(element), searchPattern);
  }
@Override
  public int getElementPriority(@NotNull Object element,
                                @NotNull String searchPattern)