Skip to content

org.jetbrains.kotlin.analysis.api.diagnostics

Types

KaDiagnostic

A diagnostic message reported by the compiler checker.

KaDiagnosticCheckerKind

A kind of compiler checkers which report diagnostics.

KaDiagnostics

A description of a diagnostic query, which yields the requested diagnostics on iteration.

KaDiagnosticWithPsi

A KaDiagnostic reported on a PsiElement of type PSI.

KaSeverity

enum class KaSeverity : Enum<KaSeverity> 

The severity of a KaDiagnostic.

Functions

diagnostics

context(session: KaSession)
fun KtElement.diagnostics(): KaDiagnostics

Returns the diagnostics reported on the given KtElement.