jclouds/jclouds — comment on commit fdb2cdf692997490d889938734b5cde85541e58e
File: core/src/main/java/org/jclouds/rest/internal/GeneratedHttpRequest.java line 124
By demobox:

> You mind starting the thread? (after xmas of course :) )

Yes, sure! Note that having the builder() methods is perfectly possible, they just have to conform to the same signature (including number of type parameters) as the methods they hide. In this case one could have tried to add "fake" type parameters to the parent methods but that would really obscure the fact that this Builder - and thus also its "parent" GeneratedHttpRequest - is somehow fundamentally different from HttpRequest and HttpMessage in that it "produces" something - some result of type T.

Perhaps this is an indication that GeneratedHttpRequest should not _extend_ HttpRequest but _wrap_ an HttpRequest instead. Then you'd also get a Builder that wouldn't extend HttpRequest.Builder and a

Builder builder()

method would not cause any problems