I\'d like to implement a function with both generics and varargs.
public class Question {
public static void doNastyThingsToClasses(Class
As an aside, the warning can now be suppressed using Java 7's new @SafeVarargs annotation.
@SafeVarargs
public static void func( Class parent, Class extends A>... classes ) {
// Do func...
}