public final void addPathParameter(@NotNull Path path) {
    myPathParameterIndices.add(myParameters.size());
    addParameter(path.toString());
  }
public final void addPathParameter(@NotNull Path path)