I found that in Java, I can use a Kotlin internal ...
# random
j
I found that in Java, I can use a Kotlin internal class from a Gradle dependency. Is it expected behavior?
K 1
f
Yes, to avoid this use
@JvmSynthetic
e
or
@JvmName
with illegal identifier characters in Java
Kotlin's
internal
mapping to Java's
public
is described in https://kotlinlang.org/docs/java-to-kotlin-interop.html#visibility