@Test public void testGetMethodIdentity() { String identityName = "com.github.smartretry.core.util.RetryHandlerUtilsTest$OrderService.insert"; Assertions.assertThat(RetryHandlerUtils.getMethodIdentity(getMethodByName(OrderService.class, "insert"))).isEqualTo(identityName); }
public static String getMethodIdentity(Method method) { return method.getDeclaringClass().getName() + "." + method.getName(); }
RetryHandlerUtils { public static String getMethodIdentity(Method method) { return method.getDeclaringClass().getName() + "." + method.getName(); } }
RetryHandlerUtils { public static String getMethodIdentity(Method method) { return method.getDeclaringClass().getName() + "." + method.getName(); } private  RetryHandlerUtils(); }
RetryHandlerUtils { public static String getMethodIdentity(Method method) { return method.getDeclaringClass().getName() + "." + method.getName(); } private  RetryHandlerUtils(); static boolean isRetryFunctionMethod(Method method); static void validateRetryHandler(Class<?> clazz); static void validateRetryFunction(Method method); static boolean isRetryHandlerMethod(Class<?> targetClass, Method method); static Type getRetryHandlerGenericInterface(Class<?> clazz); static String getMethodIdentity(Method method); }
RetryHandlerUtils { public static String getMethodIdentity(Method method) { return method.getDeclaringClass().getName() + "." + method.getName(); } private  RetryHandlerUtils(); static boolean isRetryFunctionMethod(Method method); static void validateRetryHandler(Class<?> clazz); static void validateRetryFunction(Method method); static boolean isRetryHandlerMethod(Class<?> targetClass, Method method); static Type getRetryHandlerGenericInterface(Class<?> clazz); static String getMethodIdentity(Method method);  }