LanguageDefinition (ConvertContext context) { final PsiClass languageClass = DomJavaUtil.findClass(Language.class.getName(), context.getInvocationElement()); if (languageClass == null) return null; String anyLanguageId = calculateAnyLanguageId(context); return new LanguageDefinition(anyLanguageId, languageClass, () -> AllIcons.FileTypes.Any_type, () -> DevKitBundle.message("plugin.xml.convert.language.id.any.language.display.name")); }