I have come across a curious situation involving static generic methods. This is the code:
class Foo { public static Foo crea
Yes, this is type inference based on the target of the assignment, as per JLS section 15.12.2.8. To be explicit, you'd call something like:
Foo.<String>createFoo();