Use ClassId instead of JvmClassName in KotlinJvmBinaryClass

ClassId contains exact information about origin of the class (e.g. if '$' in
the class name denotes nested classes separator or just a character in the
name)
This commit is contained in:
Alexander Udalov
2014-09-15 13:49:55 +04:00
parent 1f8b2cef52
commit 7595e32bb6
21 changed files with 108 additions and 110 deletions

View File

@@ -1,6 +1,7 @@
package test
//this test relies on particular heuristic implemntation, can become irrelevant should implementation change
annotation class `$$$$$$`
annotation class `Anno$tation`
`$$$$$$`class A
`$$$$$$` class A
`Anno$tation` class `Cla$s`

View File

@@ -6,4 +6,12 @@ internal final annotation class $$$$$$ : kotlin.Annotation {
test.$$$$$$() internal final class A {
/*primary*/ public constructor A()
}
}
internal final annotation class Anno$tation : kotlin.Annotation {
/*primary*/ public constructor Anno$tation()
}
test.Anno$tation() internal final class Cla$s {
/*primary*/ public constructor Cla$s()
}