private static LookupElement createLookupElement(@NotNull Object element, @NotNull String name, @Nullable Icon icon) {
    return LookupElementBuilder.create(element, name)
      .withIcon(icon)
      .withPresentableText(name);
  }
private static LookupElement createLookupElement(@NotNull Object element, @NotNull String name, @Nullable Icon icon)