Improve terminological consistency in KClass docs

This commit is contained in:
Ilya Gorbunov
2020-01-09 23:57:50 +03:00
parent 71d847841e
commit ac7e54f651
3 changed files with 6 additions and 6 deletions
@@ -16,13 +16,13 @@ package kotlin.reflect
public actual interface KClass<T : Any> : 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.
*/
@@ -16,13 +16,13 @@ package kotlin.reflect
public actual interface KClass<T : Any> : 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?
@@ -16,13 +16,13 @@ package kotlin.reflect
public expect interface KClass<T : Any> {
/**
* 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?