[FIR] FirBasedSymbol: add more info to kdoc
^KT-56046
This commit is contained in:
committed by
Space Team
parent
5b8ece379d
commit
fb8e4e7c8d
@@ -74,7 +74,10 @@ fun FirAnnotationContainer.resolvedAnnotationsWithArguments(anchorElement: FirBa
|
|||||||
fun List<FirAnnotation>.resolvedAnnotationsWithArguments(anchorElement: FirBasedSymbol<*>): List<FirAnnotation> {
|
fun List<FirAnnotation>.resolvedAnnotationsWithArguments(anchorElement: FirBasedSymbol<*>): List<FirAnnotation> {
|
||||||
if (isEmpty()) return emptyList()
|
if (isEmpty()) return emptyList()
|
||||||
|
|
||||||
// this loop by index is required to avoid possible ConcurrentModificationException
|
/**
|
||||||
|
* This loop by index is required to avoid possible [ConcurrentModificationException],
|
||||||
|
* because the annotations might be in a process of resolve from some other threads
|
||||||
|
*/
|
||||||
var hasAnnotationCallWithArguments = false
|
var hasAnnotationCallWithArguments = false
|
||||||
for (i in indices) {
|
for (i in indices) {
|
||||||
val currentAnnotation = get(i)
|
val currentAnnotation = get(i)
|
||||||
|
|||||||
Reference in New Issue
Block a user