override fun generateFor()

in artist-traits-rx/src/main/kotlin/com/uber/artist/traits/rx/KotlinTextInputTrait.kt [28:40]


  override fun generateFor(
      type: TypeSpec.Builder,
      initMethod: FunSpec.Builder,
      rClass: ClassName,
      sourceType: String) {

    // TextChanges
    addRxBindingApiForAdditive(type, KotlinAdditiveApi(
        KotlinRxBindingInfo(KotlinRxTypeNames.Rx.RxTextView,
            "textChanges",
            """@return an observable of character sequences for text changes on this TextView."""),
        CharSequence::class.asClassName()))
  }