// Modifiers:
outputModifiers(handler, javadocClass);
// Imports:
JavaSource parent = javadocClass.getParentSource();
// 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++) {
if (imports[i].endsWith("*")) {
// package import: