Skip to content

org.jetbrains.kotlin.analysis.api.standalone

Types

StandaloneAnalysisAPISession

StandaloneAnalysisAPISessionBuilder

class StandaloneAnalysisAPISessionBuilder(projectDisposable: Disposable, unitTestMode: Boolean)

StandaloneWorkaroundApi

@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.TYPEALIAS])
@RequiresOptIn(message = "This API is provided as a workaround. Please read the API's documentation before opting in.")
annotation class StandaloneWorkaroundApi

Marks an API as a workaround. Before such an API is used, the user should read its documentation to understand its purpose and tradeoffs.

Functions

buildStandaloneAnalysisAPISession

inline fun buildStandaloneAnalysisAPISession(
    projectDisposable: Disposable = Disposer.newDisposable("StandaloneAnalysisAPISession.project"), 
    unitTestMode: Boolean = false, 
    init: StandaloneAnalysisAPISessionBuilder.() -> Unit
): StandaloneAnalysisAPISession

disposeGlobalStandaloneApplicationServices

Disposes global resources which would persist after unloading Analysis API and IJ platform classes.