ComposeInvestigatorPluginRegistrar

class ComposeInvestigatorPluginRegistrar : ComponentRegistrar

Registers the IrGenerationExtension's of ComposeInvestigator into the Kotlin Compiler Plugin.

This class registers the IrGenerationExtension in two LoadingOrder phases:

  1. LoadingOrder.FIRST - Adds the IrGenerationExtension of ComposeInvestigator that must run before the Compose Compiler operates. This corresponds to ComposeInvestigatorFirstPhaseExtension.

  2. LoadingOrder.LAST - Adds the IrGenerationExtension of ComposeInvestigator that must run after the Compose Compiler has completed. This corresponds to ComposeInvestigatorLastPhaseExtension.

ComposeInvestigatorPluginRegistrar only supports the K2 Kotlin compiler.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val supportsK2: Boolean

Functions

Link copied to clipboard
open override fun registerProjectComponents(project: MockProject, configuration: CompilerConfiguration)