void () { PsiElement checkable = myWalker.findElementToCheck(myPosition); if (!(checkable instanceof JsonStringLiteral) && !(checkable instanceof JsonReferenceExpression)) return; JBIterable.from(Language.getRegisteredLanguages()) .filter(LanguageUtil::isInjectableLanguage) .map(Injectable::fromLanguage) .forEach(it -> myVariants.add(LookupElementBuilder .create(it.getId()) .withIcon(it.getIcon()) .withTailText("(" + it.getDisplayName() + ")", true))); }