code: private static void addToOpenEngSBModelEntries(CtClass clazz) throws NotFoundException,
          CannotCompileException, ClassNotFoundException {
          CtClass[] params = generateClassField();
          CtMethod m = new CtMethod(cp.get(List.class.getName()), "toOpenEngSBModelEntries", params, clazz);
          StringBuilder builder = new StringBuilder();
          builder.append(createTrace("Add elements of the model tail"))
              .append("List elements = new ArrayList();\n")
              .append(String.format("elements.addAll(%s.values());\n", TAIL_FIELD))
              .append("elements.addAll(toOpenEngSBModelValues());\n")
              .append("return elements;");
          m.setBody(createMethodBody(builder.toString()));
          clazz.addMethod(m);
      }
docs: Adds the getOpenEngSBModelEntries method to the class.