public void setNodes(@NotNull List<? extends PsiElement> elements) {
    nodes = new ArrayBackedNodeIterator(PsiUtilCore.toPsiElementArray(elements));
    nodeCount = elements.size();
  }
public void setNodes(@NotNull List<? extends PsiElement> elements)