[JS FIR] Implement FirJsReflectionAPICallChecker diagnostic
^KT-60899 Fixed
This commit is contained in:
committed by
Space Team
parent
af7eb8b7af
commit
d5aaa29a7f
@@ -182,6 +182,7 @@ object StandardNames {
|
||||
@JvmField val kMutablePropertyFqName: FqNameUnsafe = reflect("KMutableProperty")
|
||||
@JvmField val kProperty: ClassId = ClassId.topLevel(kPropertyFqName.toSafe())
|
||||
@JvmField val kDeclarationContainer: FqNameUnsafe = reflect("KDeclarationContainer")
|
||||
@JvmField val findAssociatedObject: FqNameUnsafe = reflect("findAssociatedObject")
|
||||
|
||||
@JvmField val uByteFqName: FqName = fqName("UByte")
|
||||
@JvmField val uShortFqName: FqName = fqName("UShort")
|
||||
|
||||
@@ -93,6 +93,8 @@ object StandardClassIds {
|
||||
|
||||
val constantAllowedTypes = primitiveTypes + unsignedTypes + String
|
||||
|
||||
val associatedObjectAnnotations = hashSetOf(Annotations.AssociatedObjectKey, Annotations.ExperimentalAssociatedObjects)
|
||||
|
||||
val Continuation = "Continuation".coroutinesId()
|
||||
|
||||
@Suppress("FunctionName")
|
||||
@@ -190,6 +192,9 @@ object StandardClassIds {
|
||||
val OptionalExpectation = "OptionalExpectation".baseId()
|
||||
val ImplicitlyActualizedByJvmDeclaration = "ImplicitlyActualizedByJvmDeclaration".jvmId()
|
||||
|
||||
val AssociatedObjectKey = "AssociatedObjectKey".reflectId()
|
||||
val ExperimentalAssociatedObjects = "ExperimentalAssociatedObjects".reflectId()
|
||||
|
||||
object ParameterNames {
|
||||
val value = Name.identifier("value")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user