void (final UsageInfo usage, final PsiElement element, final Map<Language, InlineHandler.Inliner> inliners) { PsiElement usageElement = usage.getElement(); if (usageElement == null) return; final Language language = usageElement.getLanguage(); final InlineHandler.Inliner inliner = inliners.get(language); if (inliner != null) { inliner.inlineUsage(usage, element); } }