FIR/Analysis API: Get parameter name from function type notation or
`@ParameterName` annotation, which is also now added during type resolution.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
afb68d15d6
commit
167dc81d3b
@@ -113,6 +113,7 @@ object StandardNames {
|
||||
@JvmField val replaceWith: FqName = fqName("ReplaceWith")
|
||||
@JvmField val extensionFunctionType: FqName = fqName("ExtensionFunctionType")
|
||||
@JvmField val parameterName: FqName = fqName("ParameterName")
|
||||
@JvmField val parameterNameClassId: ClassId = ClassId.topLevel(parameterName)
|
||||
@JvmField val annotation: FqName = fqName("Annotation")
|
||||
@JvmField val target: FqName = annotationName("Target")
|
||||
@JvmField val targetClassId: ClassId = ClassId.topLevel(target)
|
||||
|
||||
@@ -181,6 +181,8 @@ object StandardClassIds {
|
||||
val deprecatedSinceKotlinWarningSince = Name.identifier("warningSince")
|
||||
val deprecatedSinceKotlinErrorSince = Name.identifier("errorSince")
|
||||
val deprecatedSinceKotlinHiddenSince = Name.identifier("hiddenSince")
|
||||
|
||||
val parameterNameName = jvmNameName
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user