Try
getStackTrace() method in java.lang.Thread class (JDK 5) or
getStackTrace() method in java.lang.Throwable ( JDK 1.4+). It might work.
This should return a StackTraceElement object which will have the required information.
By the way, just curious: Why do you need such info?