rose 不支持泛型怎么办啊
今天用rose逆向工程 在生成类图时出错
出错内容是:Errors During Reverse Engineering Check the Rose Log Windows
在log内的内容是:15:44:15| Parser Error: near token < on line 113 occurred in File D:\work\TankWar1.4\src\Missile.java
15:44:15| Parser Error: near token { on line 50 occurred in File D:\work\TankWar1.4\src\Tank.java
15:44:15| Parser Error: near token < on line 14 occurred in File D:\work\TankWar1.4\src\TankClient.java
注:其中的TankWar 第113行的内容是:public boolean hitTanks(List<Tank> tanks) {
for(int i = 0; i<tanks.size(); i++) {
if(hitTank(tanks.get(i))) {
return true;
}
}
return false;
}
其中用到了泛型
请问怎么解决啊!!!!!!
------解决方案--------------------lz 解决了吗