Skip to content

Instantly share code, notes, and snippets.

@nandub
Created May 30, 2009 03:40
Show Gist options
  • Save nandub/120351 to your computer and use it in GitHub Desktop.
Save nandub/120351 to your computer and use it in GitHub Desktop.
String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment