mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
Add AnnotationBuilder#createAnnotation to be able to handle on-fly diagnostic
GitOrigin-RevId: d2279169eacca378ea018bdaf3be3635afc06f79
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f32acc0356
commit
763126e0c6
@@ -104,9 +104,8 @@ class AnnotationPresentationInfo(
|
||||
it.problemGroup(KotlinSuppressableWarningProblemGroup(diagnostic.factory))
|
||||
}
|
||||
}
|
||||
.create()
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
(holder as? List<Annotation>)?.last()?.let(consumer::invoke)
|
||||
.createAnnotation()
|
||||
.also(consumer)
|
||||
}
|
||||
|
||||
private fun getMessage(diagnostic: Diagnostic): String {
|
||||
|
||||
Reference in New Issue
Block a user