### Question:
MethodSignature implements Signature { @Override public String toShortString() { return ReflectUtils.getSignature(method); } MethodSignature(Method method); @Override String toShortString(); @Override String toLongString(); @Override String getName(); @Override int getModifiers(); @Override Class<?> getDeclaringType(); @Override String getDeclaringTypeName(); @Override String toString();  }### Answer:
@Test public void toShortString() throws NoSuchMethodException { Method method = Foo.class.getMethod("foo", String.class); MethodSignature methodSignature = new MethodSignature(method); System.out.println(methodSignature.toShortString()); System.out.println(ReflectUtils.getSignature(method)); }