code: public static PathSpecification byPath(final Path path) {
  
          checkNotNull(path);
  
          return new PathSpecification() {
  
              @Override
              public OptionalPath path(Bindings bindings) {
  
                  checkNotNull(bindings);
  
                  return new SomePath(path);
              }
  
              @Override
              public String name() {
                  return String.format("by path: %s", path);
              }
          };
      }
docs: A trivial {@link PathSpecification} with a constant
  {@link PathSpecification#path(Bindings) path}
  given as this method's {@code path} parameter.
  
  <p>The {@link PathSpecification#name() name} of the returned
  path specification is "by path: _", where "_" is substituted
  by the string representation of the {@code path} parameter.</p>