This commit is contained in:
crusader 2018-04-10 18:01:04 +09:00
parent d40a2ffaa0
commit 59964f7e21

View File

@ -43,6 +43,10 @@ func (mm *MethodMeta) Call(in []reflect.Value) []reflect.Value {
return mm.method.Func.Call(in) return mm.method.Func.Call(in)
} }
func (mm *MethodMeta) ReturnType() reflect.Type {
return mm.returnType
}
func (mm *MethodMeta) ParamValues() (values []reflect.Value, instances []interface{}) { func (mm *MethodMeta) ParamValues() (values []reflect.Value, instances []interface{}) {
if nil == mm.paramTypes || 0 == len(mm.paramTypes) { if nil == mm.paramTypes || 0 == len(mm.paramTypes) {
return nil, nil return nil, nil