return StringUtils.EMPTY;
}
}
public static String getCallerMethod() {
StackTraceElement[] stacktrace = Thread.currentThread().getStackTrace();
<BUG>if (stacktrace.length >= 3) {
</BUG>
StackTraceElement element = stacktrace[3];
return element.getClassName() + '.' + element.getMethodName() + "()";
} else {

return StringUtils.EMPTY;
}
}
public static String getCallerMethod() {
StackTraceElement[] stacktrace = Thread.currentThread().getStackTrace();
if (stacktrace.length >= 4) {
StackTraceElement element = stacktrace[3];
return element.getClassName() + '.' + element.getMethodName() + "()";
} else {
