URL jarUrl = FileLocator.toFileURL(
FileLocator.find(bundle, new Path(jarName), null));
logger.debug("{}: loading commands", name);
AnnotationDB db = new AnnotationDB();
db.setScanClassAnnotations(true);
db.setScanFieldAnnotations(false);
db.setScanMethodAnnotations(false);
db.setScanParameterAnnotations(false);
db.scanArchives(jarUrl);
Set<String> commandClasses = db.getAnnotationIndex()
.get(org.eclim.annotation.Command.class.getName());
if(commandClasses != null){
for (String commandClass : commandClasses){
logger.debug("{}: loading command: {}", name, commandClass);
@SuppressWarnings("unchecked")