Ian White
03/21/2019, 1:10 PMmyMap: Map<String,Any>
from myMap: Map<String,Any?>
, because both of those turn into Java Map<String,Object>
from the standpoint of the annotation processor. Is there any way to distinguish them? As a workaround I’m considering adding an additional annotation @HasNullValue
but it’s a bit of a hack.diesieben07
03/21/2019, 1:14 PMkotlin.Metadata
annotation and then use kotlinx.metadata.jvm
to parse the metadata values and obtain precise kotlin types.
https://github.com/JetBrains/kotlin/tree/master/libraries/kotlinx-metadata/jvmIan White
03/21/2019, 1:28 PM