gsonvalue
gsonvalue copied to clipboard
Compile-time generation of gson TypeAdapters to preserve class encapsulation
..will fail. Just try the test: ```kotlin data class IgnoreDataMethods @GsonConstructor constructor(val arg1: Int, val arg2: Int) { fun fail() = "" } ``` There would be additional adapter fields...
https://docs.gradle.org/4.7-rc-1/userguide/java_plugin.html#sec:incremental_annotation_processing
I have a data class with a companion `@JvmStatic` create method inside. When I annotate it with `@GsonConstructor` it fails with the message "error: More than one constructor or factory...