code: public Map<String, TypeMetaInfo> getTypeMetaInfo(InternalKieModule kModule) {
          KieMetaInfoBuilder kb = new KieMetaInfoBuilder(kModule);
          KieModuleMetaInfo info = kb.generateKieModuleMetaInfo(null);
          Map<String, TypeMetaInfo> typesMetaInfo = info.getTypeMetaInfos();
          return typesMetaInfo;
      }
docs: for test