void () { doTest("import java.util.*;" + "class EmptyIterator<T> implements Iterator<T> {" + " public boolean hasNext() {" + " return false;" + " }" + " public T /*'Iterator.next()' which can't throw 'NoSuchElementException'*/next/**/() {" + " return null;" + " }" + " public void remove() {" + " }" + "}"); }