TemplateBuilderImpl (PsiClass aClass, PsiDeconstructionList list) { TemplateBuilderImpl templateBuilder = new TemplateBuilderImpl(aClass); PsiRecordHeader header = aClass.getRecordHeader(); CreateRecordFromNewFix.setupRecordComponentsFromPattern(header, templateBuilder, list); return templateBuilder; }