se.ansman.kotshi.GeneratedAdapter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
An annotations processor that generates Moshi adapters from Kotlin data classes
package se.ansman.kotshi
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.TypeVariableName
data class GeneratedAdapter(
val targetType: ClassName,
val className: ClassName,
val typeVariables: List,
val requiresTypes: Boolean,
val requiresMoshi: Boolean
)