1、警告信息:Class is a raw type. References to generic type ClassT should be parameterized
2、点击Add @SuppressWarnings rawtypes解决此问题;
3、点击后,会在方法的上面增加一行:@SuppressWarnings(“rawtypes”),警告随之消失了。
4、还有unchecked的问题,点击添加@SuppressWarnings(“unchecked”)来解决。
5、只要是同样的警告,都可以采用该方法来解决。
6、点击后会在对应的代码行上面添加一行:@SuppressWarnings(“unchecked”)。