Created
February 18, 2014 01:58
-
-
Save vobject/9063167 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void printCurrentMethod() | |
{ | |
StackTraceElement[] ste = Thread.currentThread().getStackTrace(); | |
System.out.println("DEBUG: " + ste[2].getMethodName()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment