| java.lang.Object clime.messadmin.utils.StackIntrospector
StackIntrospector | final public class StackIntrospector (Code) | | A set of utilities to inspect current stack frame.
Heavily inspired by, and based on, Apache LogKit's org.apache.log.util.StackIntrospector
Note: this information is also available since Java 1.4 via
Throwable.getStackTrace author: Cédrik LIME |
getCallerClass | public static Class getCallerClass()(Code) | | Find our caller's caller.
May return null if caller not found on execution stack.
|
getCallerClass | public static Class getCallerClass(Class clazz) throws SecurityException(Code) | | Find the caller of the passed in Class.
May return null if caller not found on execution stack.
Parameters: clazz - the Class to search for on stack to find caller of the Class of object that called parrameter class |
getCallerClass | public static Class getCallerClass(Class clazz, int stackDepthOffset)(Code) | | Find the caller of the passed in Class.
May return null if caller not found on execution stack.
Parameters: clazz - the Class to search for on stack to find caller of Parameters: stackDepthOffset - Offset call-stack depth to find caller the Class of object that called parrameter class |
|
|