All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.ansman.kotshi.Options.kt Maven / Gradle / Ivy

Go to download

An annotations processor that generates Moshi adapters from Kotlin data classes

There is a newer version: 3.0.0
Show newest version
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 }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy