<< 04-July-2008 : hausbot on #groovy at codehaus [download] [back] >>
 
 
time nick message

15:23

<jrsharp>

hey all, is there a way in Groovy / Java (Reflection) to get all the instances of a given Class?

15:58

<sopho>

on behalf of java .. this is more a runtime profiling issue than type reflection.

17:17

<Broady>

jrsharp: i highly doubt it. that sounds like a very resource intensive task to perform.

17:18

<jrsharp>

yeah, I think I found another way to tackle it... But I was just wondering what reflection could do

17:21

<Broady>

cool, what did you find out?

17:21

<Broady>

interested.

18:08

<jrsharp>

well, I ended up finding that the references I needed were available in a private field of the class I was working with

18:17

<jrsharp>

so not very exciting

Drone v1.4 © 2002-2005 Uwyn RIFE powered