Hello is there a way to know the caller class name of a function, specifically for a Java-GWT application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thread.currentThreadis not supported in GWT (remember that java code gets compiled to javascript), so this is a possible duplicate of:How do you find out the caller function in JavaScript?
In GWT you’d simply write a jsni wrapper: