docs: protected static synchronized void registerAllowedParentClass(Class<? extends ElementBase> clazz,
                                                                    Class<? extends ElementBase> parentClass) {
          allowedParentClasses.addCardinality(clazz, parentClass, 1);
      }