add method

This commit is contained in:
Looly 2025-01-10 21:37:44 +08:00
parent a80371d6b2
commit 670120949e

View File

@ -86,6 +86,15 @@ public class MethodInvoker implements Invoker {
return this.paramTypes;
}
/**
* 获取方法返回类型
*
* @return 方法返回类型
*/
public Type getReturnType() {
return this.method.getReturnType();
}
@Override
public String getName() {
return this.method.getName();