presto-main/src/main/java/io/prestosql/cost/ScalarStatsCalculator.java/ScalarStatsCalculator/ScalarStatsCalculator
class ScalarStatsCalculator:    @Inject
    public ScalarStatsCalculator(Metadata metadata, TypeAnalyzer typeAnalyzer)
    {
        this.metadata = requireNonNull(metadata, "metadata can not be null");
        this.typeAnalyzer = requireNonNull(typeAnalyzer, "typeAnalyzer is null");
    }