public StaticMethod buildStatic() {
      return build().asStatic();
    }
Returns the first valid implementation as a StaticMethod or throws a RuntimeException if
there is none.

@return a {@link StaticMethod} with a valid implementation
@throws IllegalStateException if the method is not static
@throws RuntimeException if no implementation was found
amoro-common/src/main/java/org/apache/amoro/utils/DynMethods.java