1, the current method of obtaining Name: Thread.currentThread () .getStackTrace () [1] .getMethodName ()
2, get the name of the current class: this.getClass () getName ().
1, the current method of obtaining Name: Thread.currentThread () .getStackTrace () [1] .getMethodName ()
2, get the name of the current class: this.getClass () getName ().