Hello,
can someone explan me whats the meaning of the [2] in this code?
Thread.currentThread().getStackTrace()[2].getMethodName();
This website uses cookies to provide you with personalized service. By using this website, you agree to our use of cookies. If you require more details, please read our Terms and Policy.
GO TO FULL VERSION