mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add MethodReflect
This commit is contained in:
@@ -63,7 +63,7 @@ public class InvokeTask implements Task{
|
||||
if(StrUtil.isBlank(methodName)) {
|
||||
throw new IllegalArgumentException("Method name is blank !");
|
||||
}
|
||||
this.method = MethodUtil.getPublicMethod(clazz, methodName);
|
||||
this.method = MethodUtil.getPublicMethod(clazz, false, methodName);
|
||||
if(null == this.method) {
|
||||
throw new IllegalArgumentException("No method with name of [" + methodName + "] !");
|
||||
}
|
||||
|
Reference in New Issue
Block a user