spi.context.KotlinCodeGenerationContextBase.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-code-generation Show documentation
Show all versions of kotlin-code-generation Show documentation
Wrapping core components for kotlin code generation with kotlin-poet.
package io.toolisticon.kotlin.generation.spi.context
import com.squareup.kotlinpoet.ExperimentalKotlinPoetApi
import io.toolisticon.kotlin.generation.spi.KotlinCodeGenerationContext
import io.toolisticon.kotlin.generation.spi.KotlinCodeGenerationProcessor
import io.toolisticon.kotlin.generation.spi.KotlinCodeGenerationSpiRegistry
import kotlin.reflect.KClass
/**
* Abstract base implementation of [KotlinCodeGenerationContext] for convenience setting of generic types.
*/
@ExperimentalKotlinPoetApi
abstract class KotlinCodeGenerationContextBase>(
override val registry: KotlinCodeGenerationSpiRegistry
) : KotlinCodeGenerationContext {
abstract override val contextType: KClass
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy