[FIR] Add flag to disable transformers required only for plugins
This commit is contained in:
@@ -5,19 +5,19 @@
|
||||
|
||||
package org.jetbrains.kotlin.fir.declarations
|
||||
|
||||
enum class FirResolvePhase {
|
||||
RAW_FIR,
|
||||
ANNOTATIONS_FOR_PLUGINS, // plugin phase
|
||||
CLASS_GENERATION, // plugin phase
|
||||
enum class FirResolvePhase(val pluginPhase: Boolean = false, val noProcessor: Boolean = false) {
|
||||
RAW_FIR(noProcessor = true),
|
||||
ANNOTATIONS_FOR_PLUGINS(pluginPhase = true),
|
||||
CLASS_GENERATION(pluginPhase = true),
|
||||
IMPORTS,
|
||||
SUPER_TYPES,
|
||||
SEALED_CLASS_INHERITORS,
|
||||
TYPES,
|
||||
ARGUMENTS_OF_PLUGIN_ANNOTATIONS, // plugin phase
|
||||
EXTENSION_STATUS_UPDATE, // plugin phase
|
||||
ARGUMENTS_OF_PLUGIN_ANNOTATIONS(pluginPhase = true),
|
||||
EXTENSION_STATUS_UPDATE(pluginPhase = true),
|
||||
STATUS,
|
||||
CONTRACTS,
|
||||
NEW_MEMBERS_GENERATION, // plugin phase
|
||||
NEW_MEMBERS_GENERATION(pluginPhase = true),
|
||||
IMPLICIT_TYPES_BODY_RESOLVE,
|
||||
BODY_RESOLVE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user