module M def foo: -> Integer end interface _I def foo: -> Integer end class C def get_module : -> M def get_interface : -> _I end