From ac7e54f65194fd4b4ed22b65e4477db2f9a479ed Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Thu, 9 Jan 2020 23:57:50 +0300 Subject: [PATCH] Improve terminological consistency in KClass docs --- libraries/stdlib/js/src/kotlin/reflect/KClass.kt | 4 ++-- libraries/stdlib/jvm/src/kotlin/reflect/KClass.kt | 4 ++-- libraries/stdlib/src/kotlin/reflect/KClass.kt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/stdlib/js/src/kotlin/reflect/KClass.kt b/libraries/stdlib/js/src/kotlin/reflect/KClass.kt index 791325dc753..65d67dfc5f0 100644 --- a/libraries/stdlib/js/src/kotlin/reflect/KClass.kt +++ b/libraries/stdlib/js/src/kotlin/reflect/KClass.kt @@ -16,13 +16,13 @@ package kotlin.reflect public actual interface KClass : KClassifier { /** * The simple name of the class as it was declared in the source code, - * or `null` if the class has no name (if, for example, it is an anonymous object literal). + * or `null` if the class has no name (if, for example, it is a class of an anonymous object). */ public actual val simpleName: String? /** * The fully qualified dot-separated name of the class, - * or `null` if the class is local or it is an anonymous object literal. + * or `null` if the class is local or a class of an anonymous object. * * This property is currently not supported in Kotlin/JS. */ diff --git a/libraries/stdlib/jvm/src/kotlin/reflect/KClass.kt b/libraries/stdlib/jvm/src/kotlin/reflect/KClass.kt index 1137f5c5f60..8e9ae52b8c5 100644 --- a/libraries/stdlib/jvm/src/kotlin/reflect/KClass.kt +++ b/libraries/stdlib/jvm/src/kotlin/reflect/KClass.kt @@ -16,13 +16,13 @@ package kotlin.reflect public actual interface KClass : KDeclarationContainer, KAnnotatedElement, KClassifier { /** * The simple name of the class as it was declared in the source code, - * or `null` if the class has no name (if, for example, it is an anonymous object literal). + * or `null` if the class has no name (if, for example, it is a class of an anonymous object). */ public actual val simpleName: String? /** * The fully qualified dot-separated name of the class, - * or `null` if the class is local or it is an anonymous object literal. + * or `null` if the class is local or a class of an anonymous object. */ public actual val qualifiedName: String? diff --git a/libraries/stdlib/src/kotlin/reflect/KClass.kt b/libraries/stdlib/src/kotlin/reflect/KClass.kt index 1ef221a83c1..2d8ee2ed2d7 100644 --- a/libraries/stdlib/src/kotlin/reflect/KClass.kt +++ b/libraries/stdlib/src/kotlin/reflect/KClass.kt @@ -16,13 +16,13 @@ package kotlin.reflect public expect interface KClass { /** * The simple name of the class as it was declared in the source code, - * or `null` if the class has no name (if, for example, it is an anonymous object literal). + * or `null` if the class has no name (if, for example, it is a class of an anonymous object). */ public val simpleName: String? /** * The fully qualified dot-separated name of the class, - * or `null` if the class is local or it is an anonymous object literal. + * or `null` if the class is local or a class of an anonymous object. */ public val qualifiedName: String?