@SuppressWarnings({"unchecked"})
  public static @Nullable ItemPresentation getItemPresentation(@NotNull NavigationItem element) {
    for (ItemPresentationProvider<NavigationItem> provider : INSTANCE.forKey(element.getClass())) {
      ItemPresentation presentation = provider.getPresentation(element);
      if (presentation != null) {
        return presentation;
      }
    }

    return null;
  }
@SuppressWarnings({"unchecked"})
  public static @Nullable ItemPresentation getItemPresentation(@NotNull NavigationItem element)