[FIR] Update call-sites which are interested in annotation arguments

After the previous commit, enum entry access to the annotation may be
  presented by two different nodes

^KT-64975
This commit is contained in:
Dmitriy Novozhilov
2024-01-17 18:10:42 +02:00
committed by Space Team
parent a4e8be8687
commit 3fba3b703e
8 changed files with 111 additions and 84 deletions
@@ -211,7 +211,7 @@ class FirJavaElementFinder(
}
private fun FirAnnotation.findTargets(): List<String> = buildList {
forEachAnnotationTarget { add(it.identifier) }
forEachAnnotationTarget(session) { add(it.identifier) }
}
private fun buildFieldStubForConst(firProperty: FirProperty, classStub: PsiClassStubImpl<ClsClassImpl>) {