pub fn detect_hooks<'a>(
    stmts: impl Iterator<Item = &'a mut Stmt>,
    hooks_core_path: &Path
) -> DetectedHooks