Why is it possible to invoke a static method on a type parameter?

Viewed 297

I learned yesterday that you can invoke a static method on a type parameter. For example:

public static <T extends Arrays> void main(String[] args) {
    T.sort(args);
}

Is there any good reason for allowing this? Could it perhaps have helped with the transition from non-generic to generic code in some way?

1 Answers
Related