private static String methodName(Class<?> targetClass, Class<?>... types) {
    StringBuilder sb = new StringBuilder();
    sb.append(targetClass.getName()).append("(");
    boolean first = true;
    for (Class<?> type : types) {
      if (first) {
        first = false;
      } else {
        sb.append(",");
      }
      sb.append(type.getName());
    }
    sb.append(")");
    return sb.toString();
  }
Set the {@link ClassLoader} used to lookup classes by name.

<p>If not set, the current thread's ClassLoader is used.

@param newLoader a ClassLoader
@return this Builder for method chaining
amoro-common/src/main/java/org/apache/amoro/utils/DynConstructors.java