    # File lib/yard/tags/directives.rb, line 393
          def create_object
            name = method_name
            scope = parser.state.scope || handler.scope
            visibility = parser.state.visibility || handler.visibility
            ns = CodeObjects::NamespaceObject === object ? object : handler.namespace
            obj = CodeObjects::MethodObject.new(ns, name, scope)
            handler.register_file_info(obj)
            handler.register_source(obj)
            handler.register_visibility(obj, visibility)
            handler.register_group(obj)
            obj.signature = method_signature
            obj.docstring = Docstring.new!(parser.text, parser.tags, obj,
              parser.raw_text)
            handler.register_module_function(obj)
            obj
          end