Skip to content

org.jetbrains.kotlin.analysis.api.renderer

Functions

render

context(session: KaSession)
fun KaDeclarationSymbol.render(): String

Renders the given KaDeclarationSymbol to a string using the default rendering strategy (KaDeclarationRendererForSource.WITH_QUALIFIED_NAMES).

Renders the given KaDeclarationSymbol to a string. The particular rendering strategy is defined by the renderer.

context(session: KaSession)
fun KaType.render(position: Variance): String

Renders the given KaType into a string using the default rendering strategy (KaTypeRendererForSource.WITH_QUALIFIED_NAMES).

context(session: KaSession)
fun KaType.render(renderer: KaTypeRenderer, position: Variance): String

Renders the given KaType into a string. The particular rendering strategy is defined by the renderer.