extract StandartNames.NAME constant
This commit is contained in:
@@ -34,6 +34,8 @@ object StandardNames {
|
||||
|
||||
@JvmField val CHAR_CODE = Name.identifier("code")
|
||||
|
||||
@JvmField val NAME = Name.identifier("name")
|
||||
|
||||
@JvmField val NEXT_CHAR = Name.identifier("nextChar")
|
||||
|
||||
@JvmField val CONTEXT_FUNCTION_TYPE_PARAMETER_COUNT_NAME = Name.identifier("count")
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
|
||||
package org.jetbrains.kotlin.name
|
||||
|
||||
import org.jetbrains.kotlin.builtins.StandardNames
|
||||
|
||||
object StandardClassIds {
|
||||
val BASE_KOTLIN_PACKAGE = FqName("kotlin")
|
||||
val BASE_REFLECT_PACKAGE = BASE_KOTLIN_PACKAGE.child(Name.identifier("reflect"))
|
||||
@@ -199,7 +201,6 @@ object StandardClassIds {
|
||||
|
||||
val retentionValue = value
|
||||
val targetAllowedTargets = Name.identifier("allowedTargets")
|
||||
val jvmNameName = Name.identifier("name")
|
||||
|
||||
val sinceKotlinVersion = Name.identifier("version")
|
||||
|
||||
@@ -210,7 +211,7 @@ object StandardClassIds {
|
||||
val deprecatedSinceKotlinErrorSince = Name.identifier("errorSince")
|
||||
val deprecatedSinceKotlinHiddenSince = Name.identifier("hiddenSince")
|
||||
|
||||
val parameterNameName = jvmNameName
|
||||
val parameterNameName = StandardNames.NAME
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user