presto-main/src/main/java/io/prestosql/sql/planner/RuleStatsRecorder.java/RuleStatsRecorder/record
class RuleStatsRecorder:    public void record(Rule<?> rule, long nanos, boolean match)
    {
        stats.get(rule.getClass()).record(nanos, match);
    }