public class StackTraceElements extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StackTraceElements.InMemoryStackTraceElement
In-Memory version of
StackTraceElement that does not store the file name. |
Constructor and Description |
---|
StackTraceElements() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCache()
Clears the internal cache for
StackTraceElements . |
static StackTraceElements.InMemoryStackTraceElement[] |
convertToInMemoryStackTraceElement(StackTraceElement[] stackTraceElements)
Returns encoded in-memory version of
StackTraceElements . |
static StackTraceElement[] |
convertToStackTraceElement(StackTraceElements.InMemoryStackTraceElement[] inMemoryStackTraceElements)
Decodes in-memory stack trace elements to regular
StackTraceElements . |
static Object |
forMember(Member member) |
static Object |
forType(Class<?> implementation) |
public static void clearCache()
StackTraceElements
.public static StackTraceElements.InMemoryStackTraceElement[] convertToInMemoryStackTraceElement(StackTraceElement[] stackTraceElements)
StackTraceElements
.public static StackTraceElement[] convertToStackTraceElement(StackTraceElements.InMemoryStackTraceElement[] inMemoryStackTraceElements)
StackTraceElements
.Copyright © 2006-2014 Google, Inc.. All Rights Reserved.