class SnsListener implements LocomotiveListener, SourceCatalogListener, ReplicaCatalogListener,
    TableReplicationListener, CopierListener {

  @VisibleForTesting
  static List<List<String>> getModifiedPartitions(
      List<EventPartition> partitionsToAlter,
      List<EventPartition> partitionsToCreate) {
    if (partitionsToAlter == null && partitionsToCreate == null) {
      return null;
    }
    List<List<String>> partitionValues = new ArrayList<>();
    for (List<EventPartition> partitions : Arrays.asList(partitionsToAlter, partitionsToCreate)) {
      if (partitions != null) {
        for (EventPartition partition : partitions) {
          partitionValues.add(partition.getValues());
        }
      }
    }
    return partitionValues;
  }

  @Autowired public  SnsListener(AmazonSNSAsync sns, ListenerConfig config);
    SnsListener(AmazonSNSAsync sns, ListenerConfig config, Clock clock);

}