core/src/com/google/inject/internal/util/StackTraceElements.java
public static InMemoryStackTraceElement[] convertToInMemoryStackTraceElement(
      StackTraceElement[] stackTraceElements) {
    if (stackTraceElements.length == 0) {
      return EMPTY_INMEMORY_STACK_TRACE;
    }
    InMemoryStackTraceElement[] inMemoryStackTraceElements =
        new InMemoryStackTraceElement[stackTraceElements.length];
    for (int i = 0; i < stackTraceElements.length; i++) {
      inMemoryStackTraceElements[i] =
          weakIntern(new InMemoryStackTraceElement(stackTraceElements[i]));
    }
    return inMemoryStackTraceElements;
  }
public static InMemoryStackTraceElement[] convertToInMemoryStackTraceElement(
      StackTraceElement[] stackTraceElements) {
    if (stackTraceElements.length == 0) {
      return EMPTY_INMEMORY_STACK_TRACE;
    }
    InMemoryStackTraceElement[] inMemoryStackTraceElements =
        new InMemoryStackTraceElement[stackTraceElements.length];
    for (int i = 0; i < stackTraceElements.length; i++) {
      inMemoryStackTraceElements[i] =
          weakIntern(new InMemoryStackTraceElement(stackTraceElements[i]));
    }
    return inMemoryStackTraceElements;
  }
public static InMemoryStackTraceElement [ ] convertToInMemoryStackTraceElement ( StackTraceElement [ ] stackTraceElements ) { if ( stackTraceElements . length == 0 ) { return EMPTY_INMEMORY_STACK_TRACE ; } InMemoryStackTraceElement [ ] inMemoryStackTraceElements = new InMemoryStackTraceElement [ stackTraceElements . length ] ; for ( int i = 0 ; i < stackTraceElements . length ; i ++ ) { inMemoryStackTraceElements [ i ] = weakIntern ( new InMemoryStackTraceElement ( stackTraceElements [ i ] ) ) ; } return inMemoryStackTraceElements ; }
Returns encoded in-memory version of {@link StackTraceElement StackTraceElements}.
Returns encoded in - memory version of {