presto-main/src/main/java/io/prestosql/metadata/PolymorphicScalarFunctionBuilder.java/SpecializeContext/getType
class SpecializeContext:        public Type getType(String name)
        {
            return boundVariables.getTypeVariable(name);
        }