title: Moshi: Why no need to register generated JsonAdapters?
body: <p>I'm using <a href="https://github.com/square/moshi" rel="nofollow noreferrer">Moshi</a> and its CodeGen to generate Kotlin JsonAdaptors automatically for Retrofit's ConvertorFactory.</p>
  <p>I add <code>@JsonClass(generateAdapter = true)</code> on top of my data classes and after make project all adapters will be available. Then I define <code>MoshiConverterFactory.create(moshi)</code> in retrofit builder like this:</p>
  <pre><code>val moshi = Moshi.Builder().build()
  
  Retrofit.Builder()
       .baseUrl(/* baseUrl */)
       .client(/* okHttpClient */)
       .addConverterFactory(MoshiConverterFactory.create(moshi))
       .addCallAdapterFactory(/* ... */)
       .build()
  
  </code></pre>
  <p>My question is: <strong>How Moshi will find the generated adapters?</strong></p>
  <p>As you can see, there's not required to register them as custom JsonAdapters for Moshi. They work well. (I checked them in debug mode and their function will be invoked)</p>
  <p>It's my pleasure if you refer me to its source code.</p>