(Throwable throwable)
| 325 | */ |
| 326 | // TODO(cpovirk): Say something about the possibility that List access could fail at runtime? |
| 327 | @Beta |
| 328 | @GwtIncompatible // lazyStackTraceIsLazy, jlaStackTrace |
| 329 | // TODO(cpovirk): Consider making this available under GWT (slow implementation only). |
| 330 | public static List<StackTraceElement> lazyStackTrace(Throwable throwable) { |
| 331 | return lazyStackTraceIsLazy() |
| 332 | ? jlaStackTrace(throwable) |
| 333 | : unmodifiableList(asList(throwable.getStackTrace())); |
| 334 | } |
| 335 | |
| 336 | /** |
| 337 | * Returns whether {@link #lazyStackTrace} will use the special implementation described in its |
nothing calls this directly
no test coverage detected