avoid javassist method search indeterminacy
- use CtClass.getDeclaredMethod(String, CtClass[]) instead of CtClass.getDeclaredMethod(String) - javadoc of CtClass.getDeclaredMethod(String): If there are multiple methods with the specified name, then this method returns one of them.
Showing
想要评论请 注册 或 登录