What is the parameterized type of this Constructor in Java reflection?
java.lang.reflect.Constructor[] constructors = Stock.class.getDeclaredConstructors();
I've tried Constructor<Stock>[], Constructor<Stock.class>[], and Constructor<Class>[].
I am trying to clear this warning:
Constructor is a raw type. References to generic type Constructor should be parameterized
Aucun commentaire:
Enregistrer un commentaire