[FIR] move file annotations to the FirFileAnnotationsContainer
This commit is contained in:
+4
-1
@@ -552,7 +552,10 @@ object ImplementationConfigurator : AbstractFirTreeImplementationConfigurator()
|
||||
noImpl(userTypeRef)
|
||||
|
||||
impl(file) {
|
||||
default("symbol", "FirFileSymbol()")
|
||||
default("annotations") {
|
||||
value = "annotationsContainer.annotations"
|
||||
withGetter = true
|
||||
}
|
||||
}
|
||||
|
||||
noImpl(argumentList)
|
||||
|
||||
+1
@@ -452,6 +452,7 @@ object NodeConfigurator : AbstractFieldConfigurator<FirTreeBuilder>(FirTreeBuild
|
||||
}
|
||||
|
||||
file.configure {
|
||||
+field("annotationsContainer", fileAnnotationsContainer).withTransform()
|
||||
+field("packageDirective", packageDirective)
|
||||
+fieldList(import).withTransform()
|
||||
+declarations.withTransform()
|
||||
|
||||
Reference in New Issue
Block a user