docs: private void populateTypeDeclarationMaps() throws ClassNotFoundException {
          for (InternalKnowledgePackage pkg : this.pkgs.values()) {
              for (TypeDeclaration type : pkg.getTypeDeclarations().values()) {
                  type.setTypeClass(this.rootClassLoader.loadClass(type.getTypeClassName()));
                  this.classTypeDeclaration.put(type.getTypeClassName(),
                                                type);
              }
          }
      }