Class PolicyUtils.Commons
java.lang.Object
com.sun.xml.ws.policy.privateutil.PolicyUtils.Commons
- Enclosing class:
- PolicyUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringFunction returns the name of the caller method for the method executing this function.static StringgetStackMethodName(int methodIndexInStack) Method returns the name of the method that is on themethodIndexInStackposition in the call stack of the currentThread.
-
Method Details
-
getStackMethodName
Method returns the name of the method that is on themethodIndexInStackposition in the call stack of the currentThread.- Parameters:
methodIndexInStack- index to the call stack to get the method name for.- Returns:
- the name of the method that is on the
methodIndexInStackposition in the call stack of the currentThread.
-
getCallerMethodName
Function returns the name of the caller method for the method executing this function.- Returns:
- caller method name from the call stack of the current
Thread.
-