class CommunitySetMatchExprVarCollector implements CommunitySetMatchExprVisitor<Set<CommunityVar>, Configuration> {

  @Override
  public Set<CommunityVar> visitHasCommunity(HasCommunity hasCommunity, Configuration arg) {
    return hasCommunity.getExpr().accept(new CommunityMatchExprVarCollector(), arg);
  }

}