// Process any comments for the import
final CommentStructure commentStructure = new CommentStructure();
JavaParserCommentMetadataBuilder.updateCommentsToRoo(
commentStructure, importDeclaration);
final ImportMetadataBuilder newImport = new ImportMetadataBuilder(
declaredByMetadataId, 0, typePackage, type,
importDeclaration.isStatic(),
importDeclaration.isAsterisk());
newImport.setCommentStructure(commentStructure);
cidBuilder.add(newImport.build());
}
}
// Convert Java Parser modifier into JDK modifier
cidBuilder.setModifier(JavaParserUtils.getJdkModifier(typeDeclaration