I have a litte problem with a static, direct filled array of class files, which inheriting from a superclass
public static Class<SuperClass> classes= new Class<SuperClass>[]{
ChildClass.class
}
seems to be impossible. Intellij says, it requires the Superclass.class, instead of ChildClass.class.
Why is this not possible? Thank you