title: kotlin - realm and parcel
body: <p>I develop the android project with android studio.
  I want to save realm objects using <code>onSaveInstanceState()</code> in kotlin.
  My code is </p>
  
  <pre><code>@Parcel( implementations = arrayOf(UserRealmProxy::class),
           value = Parcel.Serialization.BEAN,
           analyze = arrayOf(User::class))
  open class User : RealmObject() {
      open var name: String? = null
  
      @ParcelPropertyConverter(ListParcelConverter::class)
      open var Items: RealmList&lt;Item&gt;? = null
  }
  </code></pre>
  
  <p>but there are some errors while compiling:</p>
  
  <pre><code>'Unresolved reference: UserRealmProxy'
  'An annotation parameter must be a compile-time constant'
  </code></pre>
  
  <p>Sure, UserRealmProxy exists already because already the project has been compiled.
  also <code>@ParcelPropertyConverter(ListParcelConverter::class)</code> does not work.
  it causes exception in runtime:</p>
  
  <pre><code>'java.io.NotSerializableException: io.realm.RealmList'
  </code></pre>
  
  <p>But this code is compiled well in java.</p>
  
  <p>i need your help.</p>