Json Class Codegen Processor
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
Functions
get Completions
Link copied to clipboard
open override fun getCompletions(p0: Element, p1: AnnotationMirror, p2: ExecutableElement, p3: String): MutableIterable<Completion>
Content copied to clipboard
get Supported Annotation Types
Link copied to clipboard
get Supported Options
Link copied to clipboard
get Supported Source Version
Link copied to clipboard
init
Link copied to clipboard
is Initialized
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