docs: public static SubscriberConfigProvider.SubscriberConfig getSubscriberConfig(Method subMethod, Object subscriber) {
          Preconditions.checkNotNull(subscriber);
          Preconditions.checkNotNull(subMethod);
  
          Subscribe annotation = subMethod.getAnnotation(Subscribe.class);
          if (null == annotation) {
              throw new IllegalArgumentException(String.format("Subscriber method %s does not contain a subscriber annotation.", subMethod.toGenericString()));
          }
          SubscriberConfigProvider.SubscriberConfig config = null;
          if (SubscriberConfigProvider.class.isAssignableFrom(subscriber.getClass())) {
              config = ((SubscriberConfigProvider) subscriber).getConfigForName(annotation.name());
          }
  
          if (null == config) {
              config = new AnnotationBasedSubscriberConfig(annotation);
          }
  
          return config;
      }