Article View: borland.public.jbuilder.java.language
Article #18677How to know the caller of a method?
From: soklay
Date: Sat, 16 May 1998 00:00
Date: Sat, 16 May 1998 00:00
14 lines
894 bytes
894 bytes
Hi all, Anyone knows whether there any way to know who is/are the caller(s) of a method during run-time? In a method, I would like to get hold of the string name of the class and method which calls it. Else, is it possible to, in a method, get hold if the name of itself and the name of the class it is declared in at run-rime? Any help very much appreciated. Neo S.L. ICOST Systems Pte Ltd
Technical Details
Message-ID:
<6jirgc$haf4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,81abe3417e28e50d,start X-Google-Attributes: gidf74b3,public From: soklay <icost@singnet.com.sg> Subject: How to know the caller of a method? Date: 1998/05/16 Message-ID: <6jirgc$haf4@forums.borland.com> X-Deja-AN: 353688432 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: ICOST Systems Pte Ltd Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language