@@ -20,21 +20,23 @@ abbreviated type.
20
20
21
21
## Subtypes
22
22
23
- The ` KtType ` interface has several subtypes that represent different kinds of types in Kotlin:
23
+ The ` KaType ` interface has several subtypes that represent different kinds of types in Kotlin:
24
24
25
- * ** KtClassType** : Represents a Kotlin class type, encompassing classes, interfaces, objects, and enum classes.
26
- * ** KtFunctionalType** : Represents Kotlin function types, including regular functions, suspend functions, and those with
27
- receivers.
28
- * ** KtTypeParameterType** : Represents a type parameter type, such as ` T ` in the
25
+ * ** KaClassType** : Represents a Kotlin class type, encompassing classes, interfaces, objects, and enum classes.
26
+ * ** KaUsualClassType** : Represents a class type that is not a function type.
27
+ * ** KaFunctionType** : Represents Kotlin function types, including regular functions, suspend functions, and those with
28
+ receivers.
29
+ * ** KaTypeParameterType** : Represents a type parameter type, such as ` T ` in the
29
30
declaration ` class Box<T>(val element: T) ` .
30
- * ** KtDefinitelyNotNullType ** : Represents a type that is known to be non-nullable at a particular point in the program.
31
- * ** KtCapturedType ** : Represents a type that is captured during type inference, often occurring when working with
31
+ * ** KaDefinitelyNotNullType ** : Represents a type that is known to be non-nullable at a particular point in the program.
32
+ * ** KaCapturedType ** : Represents a type that is captured during type inference, often occurring when working with
32
33
generics and variance.
33
- * ** KtFlexibleType ** : Represents a type with flexibility in its bounds, commonly used for platform types or types with
34
+ * ** KaFlexibleType ** : Represents a type with flexibility in its bounds, commonly used for platform types or types with
34
35
uncertain nullability.
35
- * ** KtIntersectionType ** : Represents a type formed by the intersection of multiple types.
36
- * ** KtDynamicType ** : Represents the dynamic type in Kotlin, used for interoperability with dynamically-typed languages
36
+ * ** KaIntersectionType ** : Represents a type formed by the intersection of multiple types.
37
+ * ** KaDynamicType ** : Represents the dynamic type in Kotlin, used for interoperability with dynamically-typed languages
37
38
or platforms.
39
+ * ** KaErrorType** : Represents an unresolved type of some kind.
38
40
39
41
## Transformation utilities
40
42
0 commit comments