class AnnotationUtils {

    public static BaseDB createDB(String name, Params parameter) throws Exception {
        Wrapper<BaseDB> db = DB_CLASSES.get(name);
        Preconditions.checkArgument(db != null, "No DB named %s", name);
        return db.clazz.getConstructor(Params.class).newInstance(parameter);
    }

}