Class PolicyUtils.Commons
- java.lang.Object
-
- com.sun.xml.ws.policy.privateutil.PolicyUtils.Commons
-
- Enclosing class:
- PolicyUtils
public static class PolicyUtils.Commons extends Object
-
-
Constructor Summary
Constructors Constructor Description Commons()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetCallerMethodName()Function 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 Detail
-
getStackMethodName
public static String getStackMethodName(int methodIndexInStack)
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.
-
-