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

gsonpath.adapter.Constants.kt Maven / Gradle / Ivy

Go to download

An annotation processor which generates Type Adapters for the Google Gson library

There is a newer version: 4.0.0
Show newest version
package gsonpath.adapter

import com.squareup.javapoet.AnnotationSpec
import javax.annotation.Generated

object Constants {
    private const val GSON_PROPERTY = "mGson"
    const val GSON = "gson"
    const val NULL = "null"
    const val IN = "in"
    const val OUT = "out"
    const val CONTINUE = "continue"
    const val BREAK = "break"
    const val VALUE = "value"
    const val GET_ADAPTER = "$GSON_PROPERTY.getAdapter"

    val GENERATED_ANNOTATION: AnnotationSpec = AnnotationSpec.builder(Generated::class.java).run {
        addMember("value", "\"gsonpath.GsonProcessor\"")
        addMember("comments", "\"https://github.com/LachlanMcKee/gsonpath\"")
        build()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy