| Modifier and Type | Field and Description |
|---|---|
| private static volatile boolean | |
| private static StackLocator |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StackTraceElement | |
| public static Class | |
| public static Class | |
| public static Class | Returns: The caller class that was matched, or null if one could not be located.Root class name whose caller to search for. fqcn, final String Package name prefix that must be matched after the pkg)fqcn has been found.Search for a calling class. |
| public static Class | Returns: the first matching class aftersentinelClass is found.Sentinel class at which to begin searching sentinelClass, final Predicate<Class<?>> Predicate checked after the sentinelClass is found callerPredicate)Search for a calling class. |
| public static Class | |
| public static ClassLoader | Returns: A class or null.The stack frame count to walk. depth)Gets the ClassLoader of the class that called this method at the location up the call stack by the given stack frame depth. |
| public static Deque | |
| public static StackTraceElement |
| errorLogged | back to summary |
|---|---|
| private static volatile boolean errorLogged | |
| stackLocator | back to summary |
|---|---|
| private static StackLocator stackLocator | |
| StackLocatorUtil | back to summary |
|---|---|
| private StackLocatorUtil() | |
| calcLocation | back to summary |
|---|---|
| public static StackTraceElement calcLocation(final String fqcnOfLogger) | |
| getCallerClass | back to summary |
|---|---|
public static Class
| |
| getCallerClass | back to summary |
|---|---|
| public static Class Equivalent to
| |
| getCallerClass | back to summary |
|---|---|
| public static Class Search for a calling class.
| |
| getCallerClass | back to summary |
|---|---|
| public static Class Search for a calling class.
| |
| getCallerClass | back to summary |
|---|---|
public static Class
| |
| getCallerClassLoader | back to summary |
|---|---|
| public static ClassLoader getCallerClassLoader(final int depth) Gets the ClassLoader of the class that called this method at the location up the call stack by the given stack frame depth.
This method returns
| |
| getCurrentStackTrace | back to summary |
|---|---|
public static Deque
| |
| getStackTraceElement | back to summary |
|---|---|
| public static StackTraceElement getStackTraceElement(final int depth) | |