// Having scanned the classpaths, get the "index", which is a Map
// of classnames indexed by annotation classnames.
final Map<String, Set<String>> ai = db.getAnnotationIndex();
if (ai == null) {
if (log.isWarnEnabled()) {
log.warn("After scanning for Entities, a null annotation index was returned by the AnnotationDB.");
}
} else if (ai.isEmpty()) {
if (log.isWarnEnabled()) {
log.warn("After scanning for Entities, no annotated Entities were found.");
}