/** * Returns an Iterator over all annotations that annotate the given node. * * @param node the node to return annotations for. * @return an Iterator over all annotations that annotate the given node. */ @SuppressWarnings("unchecked") public Iterator<Annotation> iterator(SpanNode node) { return annotations.iterator(node); }