Re: Get all the types referenced by a given class
"Dave Brosius" <[email protected]> Tue, 11 Jul 2006 22:46:24 -0400
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <005f01c6a55d$5dec8100$6401a8c0@MeBigFatGuy> |
It depends what you mean by referenced. If you mean used, then that is what you need to do. If you want to know what is merely defined (the type name actually shows up in the java file), then you can probably just scan the constant pool table. ----- Original Message ----- From: "Andrea" <[email protected]> To: <[email protected]> Sent: Tuesday, July 11, 2006 4:42 PM Subject: Get all the types referenced by a given class > There's an easier way to do it than writing a class which checks all > methods > return type and arguments type, field and local variables? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >