Wes Biggs <[EMAIL PROTECTED]> writes:
> Hi all,
>
> I was thinking about the work Brian was doing with javap and thought it
> might be cleaner to use our own utility to generate that info. I wrote
> gnu.tools.ClassTool for that purpose. It seems useful to me, but I'll
> throw it out to the masses. I don't have cvs privileges (Paul, sorry for
> the delay, but the paperwork is finally coming) so it's up on my local
> box:
> http://www.cacas.org/java/gnu/tools/
>
> Benefits over javap, IMHO:
> - it's cleanroom
> - it uses reflection, not decompilation
> - more options
>
> I threw in a "--compatibility" option that will suppress the "native"
> and "synchronized" keywords which ought to be useful for classpath.
> Also, "--stubs" will output begin and end braces for method bodies,
> which is vaguely useful for starting on new classes.
You'll want to fix that --compatibility flag since it suppresses all
output. The -x replacement flag works just fine, or at least does
something. :) If I have any other problems I'll let you know.
Brian
--
|-------------------------------|Software Engineer
|Brian Jones |[EMAIL PROTECTED]
|[EMAIL PROTECTED] |http://www.nortel.net
|http://www.classpath.org/ |------------------------------