But using reflections to get field names is much different from
(somehow) obtaining the names of auto variables in a method.  For the
latter you could probably parse the class file to extract the debug
symbol table (not an easy task), if working within a regular JVM, but
it's likely to be even more difficult in the Android VM.

On Nov 3, 1:48 pm, Byron Penner <[email protected]> wrote:
> I think he is looking for reflecting into the class like kumar has
> posted! Which I believe might me overkill if u just want to get class
> name you migt be able to just do a tostring since a lot of classes
> suport it and return there class name as such.
>
> On Nov 3, 1:07 pm, Darkside Android <[email protected]> wrote:
>
> > Object getThisObjName= new Object();
>
> > I'd like to get the name of an object reference.
>
> > Is this possible via reflection in Android?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to