// Add two implicit imports:
parent.addImport("java.lang.*");
if (parent.getPackage() != null) {
parent.addImport(parent.getPackage() + ".*");
} else {
parent.addImport("*");
}
String[] imports = parent.getImports();
saxStartElement(handler, IMPORTS_ELEMENT);
for (int i = 0; i < imports.length; i++) {