getStackTrace(); String methodName = stackTrace[0].getMethodName(); System.out.println(methodName); } public static void main(String[] args) { testMethod(); } ...
確定! 回上一頁