mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
This format of the string table allows to reduce the size of the Kotlin metadata in JVM class files by reusing constants already present in the constant pool. Currently the string table produced by JvmStringTable is not fully optimized in serialization (in particular, the 'substring' operation which will be used to extract type names out of generic signature, is not used at all), but the format and its complete support in the deserialization (JvmNameResolver) allows future improvement without changing the binary version
18 lines
196 B
Kotlin
Vendored
18 lines
196 B
Kotlin
Vendored
interface A {
|
|
|
|
private val prop: String
|
|
get() = "1"
|
|
|
|
private fun foo() {
|
|
|
|
}
|
|
|
|
private fun defaultFun(p: String = "OK") {
|
|
|
|
}
|
|
}
|
|
|
|
// 1 foo\(
|
|
// 1 getProp
|
|
// 1 defaultFun\$
|