[FIR2IR] Create special IrDeclarationOrigin for generated declarations

This commit is contained in:
Dmitriy Novozhilov
2021-10-04 12:28:06 +03:00
committed by TeamCityServer
parent 233b9f1242
commit b3768a201f
11 changed files with 79 additions and 33 deletions
@@ -72,6 +72,17 @@ class UnderAnnotatedWith(annotations: Set<AnnotationFqn>) : Annotated(annotation
}
}
// annotation class AllOpen // from library
/*
@AllOpen
annotation class MyOpen
@MyOpen
class MyClass
*/
sealed class MetaAnnotated(final override val metaAnnotations: Set<AnnotationFqn>) : DeclarationPredicate() {
init {
require(metaAnnotations.isNotEmpty()) {