if (pattern.equals(foundEntry.getKey())) {
this.enunciate.debug("Class %s will be imported because it was explicitly listed.", foundEntry.getKey());
imported |= !classes2sources.containsKey(foundEntry.getKey());
classes2sources.put(foundEntry.getKey(), apiImport.isSeekSource() ? foundEntry.getValue() : null);
}
else if (matcher.isPattern(pattern) && matcher.match(pattern, foundEntry.getKey())) {
this.enunciate.debug("Class %s will be imported because it matches pattern %s.", foundEntry.getKey(), pattern);
imported |= !classes2sources.containsKey(foundEntry.getKey());
classes2sources.put(foundEntry.getKey(), apiImport.isSeekSource() ? foundEntry.getValue() : null);
}
}