docs: public static String getCanonicalName(final Class<?> aClass) {
          Class<?> cls = aClass;
          while (cls.getSimpleName().matches("^\\$*AutoValue_.*")) {
              cls = cls.getSuperclass();
          }
  
          return cls.getCanonicalName();
      }