public void setCompletionElements(Object @NotNull [] elements) {
    for (Object element: elements) {
      CompletionElement completion = new CompletionElement(element, PsiSubstitutor.EMPTY);
      myResults.put(completion, completion);
    }
  }
public void setCompletionElements(Object @NotNull [] elements)