class RerouteAnalyzedStatement implements DDLStatement {

    private final ShardedTable shardedTable;
    private final List<Assignment<Symbol>> partitionProperties;

    RerouteAnalyzedStatement(ShardedTable shardedTable, List<Assignment<Symbol>> partitionProperties) {
        this.shardedTable = shardedTable;
        this.partitionProperties = partitionProperties;
    }

    public ShardedTable shardedTable() {
        return shardedTable;
    }

    public List<Assignment<Symbol>> partitionProperties() {
        return partitionProperties;
    }

    @Override
    public void visitSymbols(Consumer<? super Symbol> consumer) {<FILL_FUNCTION_BODY>}
}

        for (var partitionProperty : partitionProperties) {
            consumer.accept(partitionProperty.columnName());
            partitionProperty.expressions().forEach(consumer);
        }
    
<no_super_class>