common_helper/src/main/java/com/xiongyingqi/util/StackTraceHelper.java
public static StackTraceElement[] getStackTrace() {
        Throwable throwable = new Throwable();
        StackTraceElement[] stackTraceElements = throwable.getStackTrace();
        StackTraceElement[] stackTraceElementsTarget = new StackTraceElement[stackTraceElements.length];
        System.arraycopy(stackTraceElements, 0, stackTraceElementsTarget, 0,
                stackTraceElementsTarget.length);
        return stackTraceElementsTarget;
    }
public static StackTraceElement[] getStackTrace() {
        Throwable throwable = new Throwable();
        StackTraceElement[] stackTraceElements = throwable.getStackTrace();
        StackTraceElement[] stackTraceElementsTarget = new StackTraceElement[stackTraceElements.length];
        System.arraycopy(stackTraceElements, 0, stackTraceElementsTarget, 0,
                stackTraceElementsTarget.length);
        return stackTraceElementsTarget;
    }
public static StackTraceElement [ ] getStackTrace ( ) { Throwable throwable = new Throwable ( ) ; StackTraceElement [ ] stackTraceElements = throwable . getStackTrace ( ) ; StackTraceElement [ ] stackTraceElementsTarget = new StackTraceElement [ stackTraceElements . length ] ; System . arraycopy ( stackTraceElements , 0 , stackTraceElementsTarget , 0 , stackTraceElementsTarget . length ) ; return stackTraceElementsTarget ; }
返回不包括本类调用堆栈的当前堆栈 <br>
2013-7-26 下午6:09:09

@return
返回不包括本类调用堆栈的当前堆栈 <br > 2013 - 7 - 26 下午6 : 09 : 09