rxgroups/src/main/java/com/airbnb/rxgroups/ResubscribeHelper.java
static void initializeAutoTaggingAndResubscription(Object target, ObservableGroup group) {
    Class<?> cls = target.getClass();
    String clsName = cls.getName();
    while (cls != null && !clsName.startsWith("android.") && !clsName.startsWith("java.")) {
      initializeAutoTaggingAndResubscriptionInTargetClassOnly(target, cls, group);
      cls = cls.getSuperclass();
      if (cls != null) {
        clsName = cls.getName();
      }
    }
  }
static void initializeAutoTaggingAndResubscription(Object target, ObservableGroup group) {
    Class<?> cls = target.getClass();
    String clsName = cls.getName();
    while (cls != null && !clsName.startsWith("android.") && !clsName.startsWith("java.")) {
      initializeAutoTaggingAndResubscriptionInTargetClassOnly(target, cls, group);
      cls = cls.getSuperclass();
      if (cls != null) {
        clsName = cls.getName();
      }
    }
  }
Initializes all helper classes in {@code target} class hierarchy.