code: public List<ChannelListener> getChannelListeners() {
          if (changes == null) {
              return (List<ChannelListener>)Collections.EMPTY_LIST;
          }
  
          List<EventListener> listeners = changes.getListenerList(AMQP);
          if ((listeners == null) || listeners.isEmpty()) {
              return (List<ChannelListener>)Collections.EMPTY_LIST;
          }
  
          ArrayList<ChannelListener> list = new ArrayList<ChannelListener>();
          for (EventListener listener : listeners) {
              list.add((ChannelListener)listener);
          }
  
          return list;
      }
docs: Returns the list of ChannelListeners registered with this AmqpChannel instance.
  
  @return List<ChannelListener>   list of ChannelListeners