Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.googlecode.asyn4j.util.MethodUtil的反射太弱了吧?! #2

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

54行到61行

            for (int i = 0; i < classes.length; i++) {
                Class clzss = classes[i];
                Class paramClzss = pararm[i].getClass();
                if (!clzss.toString().equals(paramClzss.toString())) {
                    flag =false;
                    break;
                }
            }
这个意思就是说; 
paramClzss的类型和clzss的类型必须一模一样, 
paramClzss不能是clzss的实现类或继承类, 
这个局限就太大了点吧, 
这里比较toString之后的值我觉得非常不好!!!

Original issue reported on code.google.com by gebing8...@gmail.com on 12 Aug 2013 at 3:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant