Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Finding caller of an instance or static method in Java

Finding Caller object, method/class of an Instance method in JavaYou might think if we would ever need it? Well... you may never, but no harm in exploring whether we have any/some ways of finding this in Java or not. This question was asked by one of our visitors - Marco Servetto. Thanks Marco for bringing this question up.For instance methods, by caller you might mean either the object instance



This post first appeared on Geek Explains: Java, J2EE, Oracle, Puzzles, And Problem Solving!, please read the originial post: here

Share the post

Finding caller of an instance or static method in Java

×

Subscribe to Geek Explains: Java, J2ee, Oracle, Puzzles, And Problem Solving!

Get updates delivered right to your inbox!

Thank you for your subscription

×