## update
class A
end

class B
  def initialize(xxx) # 5
    @xxx = xxx
  end
end

class C
end

def foo
  B.new(1) # 14
end

## assert
class A
end
class B
  def initialize: (Integer) -> Integer
end
class C
end
class Object
  def foo: -> B
end

## hover: test.rb:5:19
Integer

## hover: test.rb:14:6
B#initialize : (Integer) -> Integer
