fileHeaderComment += " * GENERATED FILE - DO NOT EDIT\n";
fileHeaderComment += " * CHECKSTYLE:OFF\n";
fileHeaderComment += " * \n";
fileHeaderComment += " */\n";
myClass.setFileHeaderComment(fileHeaderComment);
<BUG>myClass.addAnnotation("@SuppressWarnings(\"all\")");
myClass.setCreateDefaultConstructor(false);</BUG>
myClass.addConstructor(Access.PRIVATE, null, null);
List<JavaVariable> constParams = new ArrayList<>();
constParams.add(new JavaVariable("EntityManager", "em"));

fileHeaderComment += " * GENERATED FILE - DO NOT EDIT\n";
fileHeaderComment += " * CHECKSTYLE:OFF\n";
fileHeaderComment += " * \n";
fileHeaderComment += " */\n";
myClass.setFileHeaderComment(fileHeaderComment);
myClass.addAnnotation("@SuppressWarnings(\"all\")");
if (!injectionSupport) {
myClass.setCreateDefaultConstructor(false);
myClass.addConstructor(Access.PRIVATE, null, null);
List<JavaVariable> constParams = new ArrayList<>();
constParams.add(new JavaVariable("EntityManager", "em"));
