@Override
				public Tree next() {
					if (!hasNext())
						throw new NoSuchElementException();

					return tree.getChild(--i);
				}
Adaptor ANTLR trees to {@link TreeForTreeLayout}.
tool/src/org/antlr/v4/gui/TreeLayoutAdaptor.java