public static class PolicyUtils.Commons extends Object
| Constructor and Description |
|---|
Commons() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCallerMethodName()
Function returns the name of the caller method for the method executing this
function.
|
static 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 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.Copyright © 2006–2017 Oracle Corporation. All rights reserved.