private static int getStartOffset(@NotNull LookupElementPresentation presentation) {
      return presentation.getTailText() == null ? 0 : presentation.getTailText().length();
    }
private static int getStartOffset(@NotNull LookupElementPresentation presentation)