Json Class Codegen Processor
@IncrementalAnnotationProcessor(value = IncrementalAnnotationProcessorType.ISOLATING )
Content copied to clipboard
An annotation processor that reads Kotlin data classes and generates Moshi JsonAdapters for them. This generates Kotlin code, and understands basic Kotlin language features like default values and companion objects.
The generated class will match the visibility of the given data class (i.e. if it's internal, the adapter will also be internal).
Constructors
JsonClassCodegenProcessor
Link copied to clipboard
fun JsonClassCodegenProcessor()
Content copied to clipboard
Types
Functions
getCompletions
Link copied to clipboard
open override fun getCompletions(p0: Element, p1: AnnotationMirror, p2: ExecutableElement, p3: String): MutableIterable<Completion>
Content copied to clipboard
getSupportedAnnotationTypes
Link copied to clipboard
getSupportedOptions
Link copied to clipboard
getSupportedSourceVersion
Link copied to clipboard
init
Link copied to clipboard
isInitialized
Link copied to clipboard
process
Link copied to clipboard
open override fun process(annotations: Set<TypeElement>, roundEnv: RoundEnvironment): Boolean
Content copied to clipboard
Properties
processingEnv
Link copied to clipboard