ReflectHelpers { public static String formatMethodWithClass(Method input) { return String.format("%s#%s", input.getDeclaringClass().getName(), formatMethod(input)); }  static String formatMethod(Method input); static String formatMethodWithClass(Method input); static String formatAnnotation(Annotation annotation); static String simpleTypeDescription(Type input); static Iterable<Method> getClosureOfMethodsOnInterfaces(
      Iterable<? extends Class<?>> interfaces); static Iterable<Method> getClosureOfMethodsOnInterface(Class<?> iface); static Iterable<T> loadServicesOrdered(Class<T> iface, ClassLoader classLoader); static Iterable<T> loadServicesOrdered(Class<T> iface); static ClassLoader findClassLoader(final ClassLoader proposed); static ClassLoader findClassLoader(final Class<?>... classes); static ClassLoader findClassLoader();  }
@Test public void testClassMethodFormatter() throws Exception { assertEquals( getClass().getName() + "#testMethodFormatter()", ReflectHelpers.formatMethodWithClass(getClass().getMethod("testMethodFormatter"))); assertEquals( getClass().getName() + "#oneArg(int)", ReflectHelpers.formatMethodWithClass(getClass().getDeclaredMethod("oneArg", int.class))); assertEquals( getClass().getName() + "#twoArg(String, List)", ReflectHelpers.formatMethodWithClass( getClass().getDeclaredMethod("twoArg", String.class, List.class))); }