Language (@NotNull PsiElement context) { final BaseInjection injection = InjectorUtils.findCommentInjection(context, "comment", null); if (injection != null) { return InjectedLanguage.findLanguageById(injection.getInjectedLanguageId()); } return null; }