I am trying to create a function that returns the method name from within that method:
public static String getMethodName(final int depth) { final StackT
Despite the fact initiating an Exception is more expensive way, I would do it anyway.
Log.d("CurrentMethod", new Exception().getStackTrace()[0].getMethodName());
Works if called in onCreate.