You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: api_map.rb
    path of file: ./repos/solargraph/lib/solargraph
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'rubygems'
require 'set'
require 'pathname'
require 'yard'
require 'yard-solargraph'


    
    def resolve_method_aliases pins, visibility = [:public, :private, :protected]
      result = []
      pins.each do |pin|
        resolved = resolve_method_alias(pin)
        next if resolved.respond_to?(:visibility) && !visibility.include?(resolved.visibility)
        result.push resolved
      end
      result
    end