message: Not walk classes to check the annotations if no annotations provided
diff: @@ -54,12 +54,14 @@ void load_generated_types(const ModelSpec& spec,
  type_system.get_all_children(type, generated);
  }
  }
  + if (!spec.gen_annos.empty()) {
  for (const auto type : scope) {
  if (has_any_annotation(type, spec.gen_annos)) {
  generated.insert(type->get_type());
  }
  }
  }
  +}
  /**
  * Return true if 'left' is a subset of 'right'.
  