From 57c30ee2d11a175a497645ddd811af5ff2c5751c Mon Sep 17 00:00:00 2001 From: Roman Golyshev Date: Thu, 25 Nov 2021 18:03:30 +0300 Subject: [PATCH] [FIR] Add some kdocs to `FirRegisteredPluginAnnotations` --- .../fir/extensions/FirRegisteredPluginAnnotations.kt | 8 ++++++++ 1 file changed, 8 insertions(+) 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