def METHOD_NAME(self):
    def foo(bar: typing.Optional[typing.Iterator[int]]):
        ...
    signature = reflect.resolve_signature(foo)
    assert signature.parameters["bar"].annotation == typing.Optional[typing.Iterator[int]]