Converts the given reified type T to an ArgumentType. Note that this function fails if there is no corresponding ArgumentType mapped to T.
the context which provides access to registries