public abstract class CurrentExecutingMethodHolder
extends java.lang.Object
Exception and parsing its stack trace for the method whence the
exception was thrown.| Modifier and Type | Field and Description |
|---|---|
static java.lang.ThreadLocal<java.lang.reflect.Method> |
methodThreadLocal |
| Constructor and Description |
|---|
CurrentExecutingMethodHolder() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.reflect.Method |
getCurrentlyExecutingMethod()
returns the currently executing thread local-bound method
|
static void |
removeMethod()
the thread local method.
|
static void |
setCurrentlyExecutingMethod(java.lang.reflect.Method m)
stash the currently execution method
|
public static java.lang.ThreadLocal<java.lang.reflect.Method> methodThreadLocal
public static java.lang.reflect.Method getCurrentlyExecutingMethod()
public static void setCurrentlyExecutingMethod(java.lang.reflect.Method m)
m - the method in the throes of executionpublic static void removeMethod()