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

gsonpath.adapter.AdapterFactory.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.ClassName
import gsonpath.dependencies.Dependencies
import gsonpath.util.Logger
import javax.annotation.processing.RoundEnvironment
import javax.lang.model.element.TypeElement

interface AdapterFactory {
    fun generateGsonAdapters(
            env: RoundEnvironment,
            logger: Logger,
            annotations: Set,
            dependencies: Dependencies): List
}

class AdapterGenerationResult(
        val adapterGenericTypeClassNames: Array,
        val adapterClassName: ClassName)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy