Skip to content

KaPiece

class KaPiece<T>

A typed, enumerated key that identifies a specific piece of a symbol or a type to render.

Each KaPiece is associated with a stack of KaPieceRenderers in a KaRenderer. Renderers may render other pieces via KaRenderingContext, which allows customizing individual parts of the output without reimplementing the whole rendering.

The two top-level entry points are Symbol (renders any org.jetbrains.kotlin.analysis.api.symbols.KaSymbol) and Type (renders any org.jetbrains.kotlin.analysis.api.types.KaType).

Types

Companion

object Companion