code: private KeyReader findReaderMatchingExactType(final Iterable<KeyReader> readers, final Class<?> messageType) {
          KeyReader messageKeyReader = null;
  
          for (KeyReader reader : readers) {
              if (reader.getMessageClass().equals(messageType)) {
                  messageKeyReader = reader;
                  break;
              }
          }
  
          return messageKeyReader;
      }
docs: Search for reader based on message class.