diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/extensions/FirRegisteredPluginAnnotations.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/extensions/FirRegisteredPluginAnnotations.kt index 0e0791fea7a..19c0419c0de 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/extensions/FirRegisteredPluginAnnotations.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/extensions/FirRegisteredPluginAnnotations.kt @@ -21,7 +21,15 @@ abstract class FirRegisteredPluginAnnotations(val session: FirSession) : FirSess } } + /** + * Contains all annotations that can be targeted by the plugins. It includes the annotations directly mentioned by the plugin, + * and all the user-defined annotations which are meta-annotated by the annotations from the [metaAnnotations] list. + */ abstract val annotations: Set + + /** + * Contains meta-annotations that can be targeted by the plugins. + */ abstract val metaAnnotations: Set val hasRegisteredAnnotations: Boolean