Kotlin Analysis API Documentation Help

KaClassType

Represents a Kotlin generic class type, such as String, List<Int>, or a function type (like (String) -> Int).

Can be created using buildClassType.

Hierarchy

Inherits from KaType.

Notable subtypes: KaUsualClassType for non-function types and KaFunctionType for function types.

Members

val symbol: KaClassLikeSymbol

The class for which the given type is built.

val classId: ClassId

The qualified name of the class.

val typeArguments: List<KaTypeProjection>

A list of type arguments.

Last modified: 23 July 2024