import java.util.ArrayList;
public class ListOfClasses
{
private ArrayList<Class> classes;
public ArrayList<Class> getClasses()
{
return classes;
}
public void setClasses(ArrayList<Class> classes)
{
this.classes = classes;
}
}
For this, I get the following warning in eclipse -
Class is a raw type. References to generic type Class should be parameterized
This was asked in an earlier question, but the answer was specific to the Spring Framework. But I am getting this warning even without having anything to do with Spring. So what is the problem?