static Class class$(String s)
{
return Class.forName(s);
ClassNotFoundException classnotfoundexception;
classnotfoundexception;
throw new NoClassDefFoundError(classnotfoundexception.getMessage());
}以上是一个类的一个静态方法,这个方法是我用反编译的方法得到的,
可是我在Eclipse中编译的时候,“classnotfoundexception;”这行代码出错了。不知道哪个兄弟见过这样的用法没有
出现这样的情况,在Eclipse中怎么解决它?
{
return Class.forName(s);
ClassNotFoundException classnotfoundexception;
classnotfoundexception;
throw new NoClassDefFoundError(classnotfoundexception.getMessage());
}以上是一个类的一个静态方法,这个方法是我用反编译的方法得到的,
可是我在Eclipse中编译的时候,“classnotfoundexception;”这行代码出错了。不知道哪个兄弟见过这样的用法没有
出现这样的情况,在Eclipse中怎么解决它?
static Class class$(String s)
{
try {
return Class.forName(s);
}
catch (ClassNotFoundException classnotfoundexception) {
throw ...
}
}