presto-main/src/main/java/io/prestosql/type/InternalTypeManager.java/InternalTypeManager/InternalTypeManager
class InternalTypeManager:    @Inject
    public InternalTypeManager(Metadata metadata)
    {
        this.metadata = requireNonNull(metadata, "metadata is null");
        this.typeCoercion = new TypeCoercion(this::getType);
    }