Re: how to use bcel to tell if class was compiled with -g option?
"Dean Hiller" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
sweet, thanks, you rock. My little open source ant task is complete. thanks, dean ----- Original Message ----- From: "Dave Brosius" <[email protected]> To: "BCEL Users List" <[email protected]> Sent: Thursday, January 13, 2005 9:13 PM Subject: Re: how to use bcel to tell if class was compiled with -g option? > iirc, From the visitCode(Code obj), you can call on the code object > > getLineNumberTable() > getLocalVariableTable() > > if these two return non null objects, then -g was probably used. > > > From: "Dean Hiller" <[email protected]> > To: "BCEL Users List" <[email protected]> > Sent: Thursday, January 13, 2005 11:01 PM > Subject: how to use bcel to tell if class was compiled with -g option? > > > What is an easy way to programatically tell if the class file was compiled > with javac's -g option? > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >