core/src/com/google/inject/internal/util/StackTraceElements.java
public static StackTraceElement[] convertToStackTraceElement(
      InMemoryStackTraceElement[] inMemoryStackTraceElements) {
    if (inMemoryStackTraceElements.length == 0) {
      return EMPTY_STACK_TRACE;
    }
    StackTraceElement[] stackTraceElements =
        new StackTraceElement[inMemoryStackTraceElements.length];
    for (int i = 0; i < inMemoryStackTraceElements.length; i++) {
      String declaringClass = inMemoryStackTraceElements[i].getClassName();
      String methodName = inMemoryStackTraceElements[i].getMethodName();
      int lineNumber = inMemoryStackTraceElements[i].getLineNumber();
      stackTraceElements[i] =
          new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber);
    }
    return stackTraceElements;
  }
public static StackTraceElement[] convertToStackTraceElement(
      InMemoryStackTraceElement[] inMemoryStackTraceElements) {
    if (inMemoryStackTraceElements.length == 0) {
      return EMPTY_STACK_TRACE;
    }
    StackTraceElement[] stackTraceElements =
        new StackTraceElement[inMemoryStackTraceElements.length];
    for (int i = 0; i < inMemoryStackTraceElements.length; i++) {
      String declaringClass = inMemoryStackTraceElements[i].getClassName();
      String methodName = inMemoryStackTraceElements[i].getMethodName();
      int lineNumber = inMemoryStackTraceElements[i].getLineNumber();
      stackTraceElements[i] =
          new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber);
    }
    return stackTraceElements;
  }
public static StackTraceElement [ ] convertToStackTraceElement ( InMemoryStackTraceElement [ ] inMemoryStackTraceElements ) { if ( inMemoryStackTraceElements . length == 0 ) { return EMPTY_STACK_TRACE ; } StackTraceElement [ ] stackTraceElements = new StackTraceElement [ inMemoryStackTraceElements . length ] ; for ( int i = 0 ; i < inMemoryStackTraceElements . length ; i ++ ) { String declaringClass = inMemoryStackTraceElements [ i ] . getClassName ( ) ; String methodName = inMemoryStackTraceElements [ i ] . getMethodName ( ) ; int lineNumber = inMemoryStackTraceElements [ i ] . getLineNumber ( ) ; stackTraceElements [ i ] = new StackTraceElement ( declaringClass , methodName , UNKNOWN_SOURCE , lineNumber ) ; } return stackTraceElements ; }
Decodes in-memory stack trace elements to regular {@link StackTraceElement StackTraceElements}.
Decodes in - memory stack trace elements to regular {