docs: public void overrideModuleLayers(final Object... overrideModuleLayers) {
          if (overrideModuleLayers == null) {
              throw new IllegalArgumentException("overrideModuleLayers cannot be null");
          }
          if (overrideModuleLayers.length == 0) {
              throw new IllegalArgumentException("At least one override ModuleLayer must be provided");
          }
          for (final Object moduleLayer : overrideModuleLayers) {
              if (!isModuleLayer(moduleLayer)) {
                  throw new IllegalArgumentException("moduleLayer must be of type java.lang.ModuleLayer");
              }
          }
          this.addedModuleLayers = null;
          this.overrideModuleLayers = new ArrayList<>();
          Collections.addAll(this.overrideModuleLayers, overrideModuleLayers);
      }