public void set(final Object obj) {
					if (last == null) {
						throw new NoSuchElementException();
					}

					Assert.isTrue(obj instanceof Stmt);
					((Stmt) obj).setParent(Tree.this);

					((Stmt) last).cleanup();
					last = null;

					iter.set(obj);
				}