final Set<String> newImports = new LinkedHashSet<>();
final List<ImportDeclaration> removedImports = new ArrayList<>();
for (final ImportDeclaration oldImport : imports) {
final Identifier importedType = oldImport.getImportIdentifier();
if (importedType != null && !importedType.isNull()) {
final TypeReference type = oldImport.getUserData(Keys.TYPE_REFERENCE);
if (type != null) {
final String packageName = type.getPackageName();