List<TemplateResource> () { try { return Arrays.asList(new TemplateResource("IntelliJ Default", readFile(DEFAULT), true), new TemplateResource("Records style", readFile(RECORDS), true)); } catch (IOException e) { throw new TemplateResourceException("Error loading default templates", e); } }