@Check public void checkNameIsNotEmpty(Codetemplate template) { if (Strings.isEmpty(template.getName())) { error("Template name cannot be empty.", TemplatesPackage.Literals.CODETEMPLATE__NAME); } }
@Check public void checkNameIsNotEmpty(Codetemplate template) { if (Strings.isEmpty(template.getName())) { error("Template name cannot be empty.", TemplatesPackage.Literals.CODETEMPLATE__NAME); } }