class CommunityMatchExprVarCollector implements CommunityMatchExprVisitor<Set<CommunityVar>, Configuration> {

  @Override
  public Set<CommunityVar> visitCommunityIs(CommunityIs communityIs, Configuration arg) {
    return ImmutableSet.of(CommunityVar.from(communityIs.getCommunity()));
  }

}