presto-spi/src/main/java/io/prestosql/spi/connector/StandardWarningCode.java/StandardWarningCode/toWarningCode
class StandardWarningCode:    @Override
    public WarningCode toWarningCode()
    {
        return warningCode;
    }