presto-main/src/main/java/io/prestosql/execution/QueryStateMachine.java/QueryStateMachine/getWarningCollector
class QueryStateMachine:    public WarningCollector getWarningCollector()
    {
        return warningCollector;
    }