public static class PolicyUtils.Commons
extends java.lang.Object
| Constructor and Description |
|---|
Commons() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getCallerMethodName()
Function returns the name of the caller method for the method executing this
function.
|
static java.lang.String |
getStackMethodName(int methodIndexInStack)
Method returns the name of the method that is on the
methodIndexInStack
position in the call stack of the current Thread. |
public static java.lang.String getStackMethodName(int methodIndexInStack)
methodIndexInStack
position in the call stack of the current Thread.methodIndexInStack - index to the call stack to get the method name for.methodIndexInStack
position in the call stack of the current Thread.public static java.lang.String getCallerMethodName()
Thread.