Could I define a 'Interface' for 'Class' instead of 'Object' in java?

We know 'interface' in java provide a common way to access objects who implementing it, but i wonder if there's a way like interface which not just for accessing the object's method, but also for accessing the class's method(static method). I want to use it to invoke an array of different classes's static factory method. Does java provide something like it?

Jon Skeet
people
quotationmark

No, there's no kind of "interface for static methods" in Java.

(Aside from anything else, how would you expect to specify the class in question? Even generics wouldn't help here due to type erasure.)

people

See more on this question at Stackoverflow