StackTraceElement stack[] = (new Throwable()).getStackTrace(); StackTraceElement ste=stack[2]; String className = ste.getClassName();
StackTraceElement stack[] = (new Throwable()).getStackTrace(); StackTraceElement ste=stack[2]; String className = ste.getClassName();