🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2954

Class and method-name of the caller from a method

#2954
From: Günther Bodlak
Date: Wed, 01 Jul 1998 00:00
14 lines
921 bytes
Is there a way to find out the classname and the name of the method of
the
caller from a method.

For example I call method funcB() declared in class B from method
funcA in
class A.
In class B I would like to find out that my method funcB() was called
from
method funcA() in class A.

thanks a lot
Guenther
Technical Details
Message-ID: <6nbquu$4b49@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,1ab232af3b5107ca
X-Google-Attributes: gid1089d0,public
From: "Günther Bodlak" <guenther.bodlak@gebr-weiss.com>
Subject: Class and method-name of the caller from a method
Date: 1998/07/01
Message-ID: <6nbquu$4b49@forums.borland.com>
X-Deja-AN: 367569435
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api