code: public ModuleSymbol inferModule(Name packageName) {
          if (packageName.isEmpty())
              return java_base == noModule ? noModule : unnamedModule;//!
  
          ModuleSymbol msym = null;
          Map<ModuleSymbol,PackageSymbol> map = packages.get(packageName);
          if (map == null)
              return null;
          for (Map.Entry<ModuleSymbol,PackageSymbol> e: map.entrySet()) {
              if (!e.getValue().members().isEmpty()) {
                  if (msym == null) {
                      msym = e.getKey();
                  } else {
                      return null;
                  }
              }
          }
          return msym;
      }
docs: temporary: