### Question:
ConstructorUtil { public static String createSignature(Constructor<?> constructor) { return createSignature(constructor.getDeclaringClass(), constructor.getParameterTypes()); }  static T newInstance(Constructor<T> constructor, Object... params); static String createSignature(Constructor<?> constructor); static String createSignature(Class<?> clazz, Class<?>[] paramTypes);  }### Answer:
@Test public void testToSignature() throws Exception { Constructor<String> constructor = String.class.getConstructor(char[].class, int.class, int.class); assertEquals( "java.lang.String(char[], int, int)", ConstructorUtil.createSignature(constructor)); }