for (final Element element : (Iterable<Element>) bugInstanceList) {
for (final Element element : (List<Element>) bugInstanceList) {
	public void generateInstances(Document document, final String appName, final Writer out)			throws MissingNodeException, IOException {		List bugInstanceList = getBugInstanceList(document);		for (final Element element : (Iterable<Element>) bugInstanceList) {			scanAttributeList(new AttributeCallback() {				boolean first = true;				public void apply(Attribute attribute) throws IOException {					if (!first)						out.write(",");					first = false;					String value;					try {						value = attribute.getInstanceValue(element, appName);					} catch (MissingNodeException e) {						value = "?";					}					out.write(value);				}			});			out.write("\n");		}	}