setConversionStructureInfo(unit, "converted");
set(node, unit);
}
@Override public void visitImport(JCImport node) {
ImportDeclaration imp = new ImportDeclaration();
fillWithIdentifiers(node.getQualifiedIdentifier(), imp.astParts());
Identifier last = imp.astParts().last();
if (last != null && "*".equals(last.astValue())) {
imp.astParts().remove(last);
imp.astStarImport(true);
setConversionPositionInfo(imp, ".*", last.getPosition());
}
imp.astStaticImport(node.isStatic());
set(node, imp);
}