//arrow-meta/arrow.meta/Meta/intercept
[jvm]
abstract override fun intercept(ctx: CompilerContext): List<CliPlugin>
The Meta plugin supports N numbers of local and remote sub CliPlugin that provide a List of ExtensionPhase subscriptions. registerProjectComponents implementation calls intercept to deliver subscriptions to the Kotlin Compiler in the right order.
As the Kotlin Compiler progresses through its phases it will call the plugin ExtensionPhase. Depending on the Compiler phase each of the phases of a plugin are called. The compiler invokes the CliPlugin in the same ordered as they are returned in intercept.
Users may override intercept to add further plugins or programmatically remove some of the predefined ones in their custom CliPlugin
Do you like Arrow?
✖