Skip to content

org.jetbrains.kotlin.analysis.api.types.typeCreation

Types

KaArrayTypeBuilder

KaCapturedTypeBuilder

KaClassTypeBuilder

KaDefinitelyNotNullTypeBuilder

KaDynamicTypeBuilder

KaFlexibleTypeBuilder

KaFunctionTypeBuilder

KaIntersectionTypeBuilder

KaTypeBuilder

A base interface for all concrete type builders.

KaTypeBuilderWithAnnotations

A builder interface derived from KaTypeBuilder allowing creating annotated types.

KaTypeCreator

An entry point for type building facilities.

KaTypeCreatorDslMarker

@DslMarker
annotation class KaTypeCreatorDslMarker

A DSL marker used to annotate entities related to the type building infrastructure in KaTypeCreator.

KaTypeParameterTypeBuilder

Properties

typeCreator

context(session: KaSession)
val typeCreator: KaTypeCreator

A single entry point for the type building infrastructure.

Functions

copy

context(session: KaSession)
fun <T : KaClassType> T.copy(init: KaClassTypeBuilder.() -> Unit): KaClassType

Creates a copy of this KaClassType with modifications applied via the init block.

Creates a copy of this KaFunctionType with modifications applied via the init block.

Creates a copy of this KaTypeParameterType with modifications applied via the init block.

Creates a copy of this KaUsualClassType with modifications applied via the init block.