类 MethodMetadata

java.lang.Object
com.github.codeboyzhou.mcp.declarative.reflect.MethodMetadata

public final class MethodMetadata extends Object
  • 构造器详细资料

    • MethodMetadata

      public MethodMetadata(Method method)
  • 方法详细资料

    • of

      public static MethodMetadata of(Method method)
    • getMethod

      public Method getMethod()
    • getMethodName

      public String getMethodName()
    • getDeclaringClass

      public Class<?> getDeclaringClass()
    • getParameters

      public Parameter[] getParameters()
    • getMethodSignature

      public String getMethodSignature()
    • getMcpResourceAnnotation

      public McpResource getMcpResourceAnnotation()
    • getMcpPromptAnnotation

      public McpPrompt getMcpPromptAnnotation()
    • getMcpToolAnnotation

      public McpTool getMcpToolAnnotation()
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object