code: public boolean add(SeLionElement element) {
          // if already initialized, add the new elements to the front of the list.
          if (initialized) {
              CodeGeneratorLogger logger = CodeGeneratorLoggerFactory.getLogger();
  
              // info messages are only displayed after initialization happens
              if (isExactMatch(element.getElementClass())) {
                  logger.info("Registering the element " + element + " which is now overwriting a pre-existing element.");
              } else {
                  logger.info("Registering the element " + element + " as a valid element.");
              }
  
              SeLionElementSet elementSet = (SeLionElementSet) clone();
              clear();
              super.add(element);
              elementSet.stream().forEachOrdered(a -> super.add(a));
              return true;
          }
          return super.add(element);
      }
docs: Add an element to the list
  @param element the element