private static boolean isTemplateableLanguage(final Language language) {
    if (language == Language.ANY) return false;
    if (language instanceof TemplateLanguage || language instanceof DependentLanguage || language instanceof InjectableLanguage) {
      return false;
    }
    if (language.getBaseLanguage() != null) return isTemplateableLanguage(language.getBaseLanguage());
    return true;
  }
private static boolean isTemplateableLanguage(final Language language)