# File lib/fastri/ri_service.rb, line 122
  def obtain_entries(descriptor, options = {})
    options = DEFAULT_OBTAIN_ENTRIES_OPTIONS.merge(options)
    if descriptor.class_names.empty?
      seps = separators(descriptor.is_class_method)
      return obtain_unqualified_method_entries(descriptor.method_name, seps,
                                               options[:lookup_order])
    end

    # if we're here, some namespace was given
    full_ns_name = descriptor.class_names.join("::")
    if descriptor.method_name == nil
      return obtain_namespace_entries(full_ns_name, options[:lookup_order])
    else  # both namespace and method
      seps = separators(descriptor.is_class_method)
      return obtain_qualified_method_entries(full_ns_name, descriptor.method_name, 
                                             seps, options[:lookup_order])
    end
  end