void () { doTest("import java.util.*;\n" + "\n" + "class MyIterator implements Iterator<String> {\n" + " @Override\n" + " public boolean hasNext() {\n" + " return true;\n" + " }\n" + "\n" + " @Override\n" + " public String /*'Iterator.next()' which can't throw 'NoSuchElementException'*/next/**/() {\n" + " return \"xyz\".trim();\n" + // cannot analyze compiled library method " }\n" + " \n" + " public void remove() {}\n" + "}\n"); }