Record Class的使用
com.github.codeboyzhou.mcp.declarative.reflect.InvocationResult
使用InvocationResult的程序包
-
com.github.codeboyzhou.mcp.declarative.reflect中InvocationResult的使用
修饰符和类型方法说明InvocationResult.Builder.build()Builds a new instance ofInvocationResultwith the configured values. -
com.github.codeboyzhou.mcp.declarative.util中InvocationResult的使用
修饰符和类型方法说明ReflectionHelper.invoke(Object instance, MethodCache methodCache) Invoke the method represented by the specified method cache on the given instance with no parameters.ReflectionHelper.invoke(Object instance, MethodCache methodCache, io.modelcontextprotocol.spec.McpSchema.CompleteRequest.CompleteArgument argument) Invoke the method represented by the specified method cache on the given instance with the provided argument.ReflectionHelper.invoke(Object instance, MethodCache methodCache, List<Object> params) Invoke the method represented by the specified method cache on the given instance with the provided parameters.