Skip to content

KotlinCompilerPluginsProvider

KotlinCompilerPluginsProvider provides information about registered compiler plugins.

The component is optional. If KotlinCompilerPluginsProvider is not implemented, the Analysis API engine will assume that no compiler plugins are registered.

Types

Companion

object Companion

CompilerPluginType

Functions

getRegisteredExtensions

abstract fun <T : Any> getRegisteredExtensions(module: KaModule, extensionType: ExtensionPointDescriptor<T>): List<T>

Returns a possibly empty list of extensions of a base extensionType that compiler plugins have registered for module.

These extensions are used in addition to those provided by the extension descriptor's ProjectExtensionDescriptor.getInstances.

isPluginOfTypeRegistered

Returns true if at least one plugin with the requested pluginType is registered, and false otherwise.