class RoutePolicyStatementVarCollector implements StatementVisitor<Set<CommunityVar>, Configuration> {

  @Override
  public Set<CommunityVar> visitSetCommunities(SetCommunities setCommunities, Configuration arg) {
    return setCommunities.getCommunitySetExpr().accept(new CommunitySetExprVarCollector(), arg);
  }

}