se.ansman.kotshi.Options.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
object Options {
const val createAnnotationsUsingConstructor = "kotshi.createAnnotationsUsingConstructor"
const val useLegacyDataClassRenderer = "kotshi.useLegacyDataClassRenderer"
const val generatedAnnotation = "kotshi.generatedAnnotation"
val possibleGeneratedAnnotations = setOf(Types.Java.generatedJDK9, Types.Java.generatedPreJDK9)
.associateBy { it.canonicalName }
}