### Question:
MethodUtil { public static String generateMethodSignature(Class<?> clazz, String methodName, Class<?>[] parameterTypes) { StringBuilder builder = new StringBuilder(clazz.getName()); builder.append(":").append(methodName).append(parameterTypesToString(parameterTypes)); return builder.toString(); }  static String generateMethodSignatureByMethod(Class<?> clazz, Method method); static String generateMethodSignature(Class<?> clazz, String methodName, Class<?>[] parameterTypes); static String generateMethodSignatureNoIfacePrefix(Method method); static Object getDefaultResult(Class<?> returnType);  }### Answer:
@Test public void testGenerateMethodSignature() { Class<?> clazz = this.getClass(); String methodName = "generateMethodSignature"; Class<?>[] parameterTypes = {String.class, Class[].class}; String methodSign = MethodUtil.generateMethodSignature(clazz, methodName, parameterTypes); Assert.assertTrue("com.meituan.dorado.util.MethodUtilTest:generateMethodSignature(java.lang.String, [Ljava.lang.Class;)".equals(methodSign)); }