mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[Groovy] Replace usage of deprecated InlayTreeSink#addPresentation to the newer overload
IDEA-351784 GitOrigin-RevId: 206bf17622a4a7d28b4c31ab0266b5ed42383ff2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ce5a0d65c2
commit
fec028fd33
+1
-1
@@ -39,7 +39,7 @@ class GroovyLambdaParameterTypeHintsInlayProvider : InlayHintsProvider {
|
||||
sink: InlayTreeSink,
|
||||
suffixText: String) {
|
||||
val type = getRepresentableType(parameter) ?: return
|
||||
sink.addPresentation(InlineInlayPosition(offset, relatedToPrevious = true), hasBackground = true) {
|
||||
sink.addPresentation(InlineInlayPosition(offset, relatedToPrevious = true), null, null, HintColorKind.Default) {
|
||||
JavaTypeHintsFactory.typeHint(type, this)
|
||||
text(suffixText)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user