Can I get the name of the currently running method?

Asked 2 years ago, Updated 2 years ago, 154 views

Can I get the name of the currently running method?

java reflection

2022-09-22 22:28

1 Answers

Write Thread.currentThread().getStackTrace().


2022-09-22 22:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.