FIR: support custom annotation-based type attributes

This commit is contained in:
Mikhail Glukhikh
2021-01-20 13:56:00 +03:00
parent 4cd6266bce
commit 94e613dd01
8 changed files with 50 additions and 9 deletions
@@ -12,7 +12,7 @@ import org.jetbrains.kotlin.name.Name
object StandardClassIds {
private val BASE_KOTLIN_PACKAGE = FqName("kotlin")
val BASE_KOTLIN_PACKAGE = FqName("kotlin")
val BASE_REFLECT_PACKAGE = BASE_KOTLIN_PACKAGE.child(Name.identifier("reflect"))
private fun String.baseId() = ClassId(BASE_KOTLIN_PACKAGE, Name.identifier(this))
private fun ClassId.unsignedId() = ClassId(BASE_KOTLIN_PACKAGE, Name.identifier("U" + shortClassName.identifier))