class RDoc::AnyMethod

def superclass_method

def superclass_method
  return unless @calls_super
  return @superclass_method if @superclass_method
  parent.each_ancestor do |ancestor|
    if method = ancestor.method_list.find { |m| m.name == @name } then
      @superclass_method = method
      break
    end
  end
  @superclass_method
end