source.append(";\n"); //$NON-NLS-1$
}
for (Iterator<ImportDeclaration> iterator = compilationUnit.imports().iterator(); iterator
.hasNext();) {
ImportDeclaration importDeclaration = iterator
.next();
source.append("import "); //$NON-NLS-1$
if (importDeclaration.isStatic()) {
source.append("static "); //$NON-NLS-1$
}
source.append(getQualifiedIdentifier(importDeclaration.getName()));
if (importDeclaration.isOnDemand()) {
source.append(".*"); //$NON-NLS-1$
}
source.append(";\n"); //$NON-NLS-1$
}