Set<Language> () { if (myLanguages == null) { final Set<Language> languages = new HashSet<>(); languages.add(getBaseLanguage()); Language djangoTemplateLanguage = Language.findLanguageByID("DjangoTemplate"); if (djangoTemplateLanguage != null) { languages.add(djangoTemplateLanguage); } languages.add(getTemplateDataLanguage()); myLanguages = languages; } return myLanguages; }