Re: how to use bcel to tell if class was compiled with -g option?
"Dave Brosius" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <008401c4f9ef$77839ab0$a67496d1@MBFG> |
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?