@Test public void currentMethodName() { assertEquals("currentMethodName", RuntimeUtil.currentMethodName()); }
public static String currentMethodName() { StackTraceElement[] ste = new Exception().getStackTrace(); int ndx = (ste.length > 1) ? 1 : 0; return new Exception().getStackTrace()[ndx].getMethodName(); }
RuntimeUtil { public static String currentMethodName() { StackTraceElement[] ste = new Exception().getStackTrace(); int ndx = (ste.length > 1) ? 1 : 0; return new Exception().getStackTrace()[ndx].getMethodName(); } }
RuntimeUtil { public static String currentMethodName() { StackTraceElement[] ste = new Exception().getStackTrace(); int ndx = (ste.length > 1) ? 1 : 0; return new Exception().getStackTrace()[ndx].getMethodName(); }  }
RuntimeUtil { public static String currentMethodName() { StackTraceElement[] ste = new Exception().getStackTrace(); int ndx = (ste.length > 1) ? 1 : 0; return new Exception().getStackTrace()[ndx].getMethodName(); }  static String currentClassMethod(); static String currentMethodName(); static String currentClassName(); static String currentNamespace(); static String classLocation(Class<?> clazz); static String classLocation(); }
RuntimeUtil { public static String currentMethodName() { StackTraceElement[] ste = new Exception().getStackTrace(); int ndx = (ste.length > 1) ? 1 : 0; return new Exception().getStackTrace()[ndx].getMethodName(); }  static String currentClassMethod(); static String currentMethodName(); static String currentClassName(); static String currentNamespace(); static String classLocation(Class<?> clazz); static String classLocation();  }