@Override
    public String toString() {
      return "DynMethods.UnboundMethod(name=" + name + " method=" + method.toGenericString() + ")";
    }
Returns this method as a StaticMethod.

@return a {@link StaticMethod} for this method
@throws IllegalStateException if the method is not static
amoro-common/src/main/java/org/apache/amoro/utils/DynMethods.java