Thread.currentThread().getStackTrace()[1].getClassName(); Thread.currentThread().getStackTrace()[1].getMethodName();