if (node.getPackage() != null) {
node.getPackage().accept(this);
}
for (Iterator it = node.imports().iterator(); it.hasNext(); ) {
ImportDeclaration d = (ImportDeclaration) it.next();
d.accept(this);
}
for (Iterator it = node.types().iterator(); it.hasNext(); ) {
AbstractTypeDeclaration d = (AbstractTypeDeclaration) it.next();
d.accept(this);
}