[SLC] symbolAnnotationsUtils: simplify code
^KT-56046
This commit is contained in:
committed by
Space Team
parent
9fe4c3fb10
commit
1e04811c15
+1
-1
@@ -123,7 +123,7 @@ internal fun KtAnnotatedSymbol.computeAnnotations(
|
||||
annotation.classId?.asFqNameString()?.let(foundAnnotations::add)
|
||||
|
||||
val siteTarget = annotation.useSiteTarget
|
||||
if (includeAnnotationsWithoutSite && siteTarget == null || siteTarget == annotationUseSiteTarget) {
|
||||
if (siteTarget == annotationUseSiteTarget || includeAnnotationsWithoutSite && siteTarget == null) {
|
||||
result.add(SymbolLightAnnotationForAnnotationCall(annotation, modifierList))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user