These would be "safer" going via `syntax::ast_util::local_def(method.id)`.