@Test public void callerStackTraceElementBySuccessor() { String className = RuntimeProvider.class.getName(); assertThat(RuntimeProvider.getCallerStackTraceElement(className)).isEqualTo(new Throwable().getStackTrace()[0]); }
public static StackTraceElement getCallerStackTraceElement(final int depth) { return normalizeClassName(dialect.getCallerStackTraceElement(depth + 1)); }
RuntimeProvider { public static StackTraceElement getCallerStackTraceElement(final int depth) { return normalizeClassName(dialect.getCallerStackTraceElement(depth + 1)); } }
RuntimeProvider { public static StackTraceElement getCallerStackTraceElement(final int depth) { return normalizeClassName(dialect.getCallerStackTraceElement(depth + 1)); } private  RuntimeProvider(); }
RuntimeProvider { public static StackTraceElement getCallerStackTraceElement(final int depth) { return normalizeClassName(dialect.getCallerStackTraceElement(depth + 1)); } private  RuntimeProvider(); static boolean isAndroid(); static ClassLoader getClassLoader(); static String getDefaultWriter(); static long getProcessId(); static Timestamp getStartTime(); static String getCallerClassName(final int depth); static String getCallerClassName(final String loggerClassName); static StackTraceElement getCallerStackTraceElement(final int depth); static StackTraceElement getCallerStackTraceElement(final String loggerClassName); static Timestamp createTimestamp(); static TimestampFormatter createTimestampFormatter(final String pattern, final Locale locale); }
RuntimeProvider { public static StackTraceElement getCallerStackTraceElement(final int depth) { return normalizeClassName(dialect.getCallerStackTraceElement(depth + 1)); } private  RuntimeProvider(); static boolean isAndroid(); static ClassLoader getClassLoader(); static String getDefaultWriter(); static long getProcessId(); static Timestamp getStartTime(); static String getCallerClassName(final int depth); static String getCallerClassName(final String loggerClassName); static StackTraceElement getCallerStackTraceElement(final int depth); static StackTraceElement getCallerStackTraceElement(final String loggerClassName); static Timestamp createTimestamp(); static TimestampFormatter createTimestampFormatter(final String pattern, final Locale locale);  }