mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add method
This commit is contained in:
@@ -86,6 +86,15 @@ public class MethodInvoker implements Invoker {
|
|||||||
return this.paramTypes;
|
return this.paramTypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取方法返回类型
|
||||||
|
*
|
||||||
|
* @return 方法返回类型
|
||||||
|
*/
|
||||||
|
public Type getReturnType() {
|
||||||
|
return this.method.getReturnType();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return this.method.getName();
|
return this.method.getName();
|
||||||
|
Reference in New Issue
Block a user