Skip to content

org.jetbrains.kotlin.analysis.api.signatures

Types

KaCallableSignature

A use-site signature for a callable symbol. Compared to the symbol, the signature carries additional use-site type information.

KaFunctionSignature

KaVariableSignature

Functions

asSignature

Creates a new KaCallableSignature for the given symbol and leaves all types unsubstituted.

Creates a new KaFunctionSignature for the given symbol and leaves all types unsubstituted.

Creates a new KaVariableSignature for the given symbol and leaves all types unsubstituted.

substitute

context(session: KaSession)
fun <S : KaCallableSymbol> S.substitute(substitutor: KaSubstitutor): KaCallableSignature<S>

Applies a substitutor to the given symbol and returns a KaCallableSignature with substituted types.

context(session: KaSession)
fun <S : KaFunctionSymbol> S.substitute(substitutor: KaSubstitutor): KaFunctionSignature<S>

Applies a substitutor to the given symbol and returns a KaFunctionSignature with substituted types.

context(session: KaSession)
fun <S : KaVariableSymbol> S.substitute(substitutor: KaSubstitutor): KaVariableSignature<S>

Applies a substitutor to the given symbol and returns a KaVariableSignature with substituted types.