public LookupElement @NotNull [] getResult() {
    final Collection<LookupElement> variants = myVariants.values();
    return variants.toArray(LookupElement.EMPTY_ARRAY);
  }
public LookupElement @NotNull [] getResult()