[Analysis API] Add KDoc on star projection filling to `KaTypeCreator.classType` One overload of `classType` was missing this note. ^KT-88617
diff --git a/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeCreation/KaTypeCreator.kt b/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeCreation/KaTypeCreator.kt index e72f8ed..dcbf7e6 100644 --- a/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeCreation/KaTypeCreator.kt +++ b/analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/typeCreation/KaTypeCreator.kt
@@ -31,8 +31,8 @@ * If there are no classes available by [classId], returns [KaClassErrorType]. * * A generic class type can be built by providing type arguments using the [init] block. - * The caller should provide the correct number of type arguments for the class. - * If the number of provided type arguments is lower, missing types arguments are + * The caller is supposed to provide the correct number of type arguments for the class. + * If the number of provided type arguments is lower, missing type arguments are * filled with [star projections][KaStarTypeProjection]. * If there are more type arguments than required, extra arguments are ignored. * @@ -54,6 +54,9 @@ * * A generic class type can be built by providing type arguments using the [init] block. * The caller is supposed to provide the correct number of type arguments for the class. + * If the number of provided type arguments is lower, missing type arguments are + * filled with [star projections][KaStarTypeProjection]. + * If there are more type arguments than required, extra arguments are ignored. * * For Kotlin built-in types, consider using the overload that accepts a [ClassId] instead: * `classType(StandardClassIds.String)`.