private static @Nullable AutoCompletionPolicy getAutocompletionPolicy(LookupElement element) {
    return element.getAutoCompletionPolicy();
  }
private static @Nullable AutoCompletionPolicy getAutocompletionPolicy(LookupElement element)