01.JAVA/Java
실행되는 함수내에서 Method명과 Class명 알아내기
1010
2012. 9. 15. 08:01
반응형
StackTraceElement STE = Thread.currentThread().getStackTrace()[1];
String className = STE.getClassName();
String methodName = STE.getMethodName());
[출처] 실행되는 함수내에서 Method명과 Class명 알아내기|작성자 세직사