docs: public File resolve(Node classpathBase, Resource resource) throws IOException {
          Base base;
          Node baseResolved;
          Node normal;
          String minimizedPath;
          Node minimized;
  
          base = resource.getBase();
          if (base == Base.CLASSPATH) {
              baseResolved = classpathBase;
          } else {
              baseResolved = bases.get(base);
          }
          if (baseResolved == null) {
              throw new IllegalStateException("unknown base: " + base.toString());
          }
          normal = resolve(baseResolved, resource.getPath());
          minimizedPath = resource.getMinPath();
          minimized = minimizedPath == null ? null : resolve(baseResolved, minimizedPath);
          return new File(normal, minimized, resource.getType(), resource.getVariant());
      }