Specifically, this line in the JAX-RS 2.0 way:
String result = target.pathParam(
However, coding it up ran into a problem very quickly - namely that the method wasn't available on a WebTarget class! Searching the jar confirmed that, but searching the internet didn't turn up much besides this:
Which looks like the beginning of the discussion to remove pathParam :)
So, the lesson is: ignore that line in the documentation!