* @return A collection of ApiChange
*/
static Collection<ApiChange> getApiChanges(Map<String, String> existingTypesToSourcesMap,
Map<String, String> newTypesToSourcesMap) throws UnableToCompleteException, NotFoundException {
AbstractTreeLogger logger = new PrintWriterTreeLogger();
logger.setMaxDetail(TreeLogger.ERROR);
Set<Resource> set1 = new HashSet<Resource>();
for (Map.Entry<String, String> entry : existingTypesToSourcesMap.entrySet()) {
set1.add(new StaticJavaResource(entry.getKey(), entry.getValue()));
}