[FIR] Add ability to generate companion object from compiler plugin

This commit is contained in:
Dmitriy Novozhilov
2021-10-19 15:26:33 +03:00
committed by teamcityserver
parent 75ed11a620
commit 9948ba57c0
12 changed files with 244 additions and 6 deletions
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.fir.declarations
enum class FirResolvePhase(val pluginPhase: Boolean = false, val noProcessor: Boolean = false) {
RAW_FIR(noProcessor = true),
ANNOTATIONS_FOR_PLUGINS(pluginPhase = true),
COMPANION_GENERATION(pluginPhase = true),
IMPORTS,
SUPER_TYPES,
SEALED_CLASS_INHERITORS,