Since JDK 1.4, the Throwable class has the "getStackTrace()" method, which returns an array of StackTraceElement objects, which can tell you the name of the method.
String methodName = new Throwable().getStackTrace[0].getMethodName();
In real code, I wouldn't chain all this together: getStackTrace() can return a 0-length array. You'd have to check for that.