LanguageMatcher (@NotNull Language language) { if (language instanceof MetaLanguage) { return new MetaLanguageKindMatcher((MetaLanguage)language); } else { return new LanguageKindMatcher(language); } }