dagguh
04/12/2019, 9:56 AMinternal
is public
in Java, so our libs leak internal API
is there a way to post-process Kotlin-generated bytecode to translate the internal to package-private?diesieben07
04/12/2019, 10:11 AMinternal
can be accessed across packages in Kotlin.dagguh
04/12/2019, 10:12 AMdiesieben07
04/12/2019, 10:12 AM@JvmSynthetic
annotationdagguh
04/12/2019, 10:14 AMprivate
and then add factory method and make it synthetic
it leaks a Companion
class to Java, but it’s pretty benign 🤔diesieben07
04/12/2019, 10:16 AMdagguh
04/12/2019, 10:17 AM@JvmSynthetic
has negative side-effectsdiesieben07
04/12/2019, 10:22 AMdagguh
04/12/2019, 10:29 AMribesg
04/12/2019, 11:04 AMpackage
in Kotlintddmonkey
04/12/2019, 11:21 AMJvmStatic
creator method in a companion object?hho
04/12/2019, 11:56 AMdagguh
04/12/2019, 12:04 PMtddmonkey
04/12/2019, 12:06 PMdagguh
04/12/2019, 12:09 PMdiesieben07
04/12/2019, 12:12 PMdagguh
04/12/2019, 12:12 PMinternal
, that works in Java, but Java doesn’t have it and package-private is not it eitherhho
04/12/2019, 12:13 PMdagguh
04/12/2019, 12:16 PMlouiscad
04/12/2019, 8:04 PM