01.JAVA/Java2012. 9. 15. 08:01
반응형

StackTraceElement STE = Thread.currentThread().getStackTrace()[1];

String className = STE.getClassName();
String methodName = STE.getMethodName());

 

Posted by 1010