A
Andreas Leitgeb
JSH said:More of an arbitrary thing where I just went that way. I was taught[about Class viewer]
I had a look at your sourceforge page, and was unclear
about a few things:
- why only "public" members?
use public classes and stay away from protected, if possible.
But if I had a user base that was clamoring for that I'd guess I'd do
it, though individual developers can, of course, simply make the
change in the code themselves.
Well, right.
Hmm, yes, makes sense. Loading the root-frameset of Sun's API-docs does
take a while (due to the complete class list in the lower-left pane). so
effectively extracting the class list from local rt.jar and direct jumps
to the respective method's doc makes indeed lots of sense for those with
a rather slow connection to the 'net.
By the way, I made another mistake: I said it did not extract more than
what is in javadocs, but actually it does. In the screenshot it shows
a "volatile int compareTo(Object)", which is not mentioned in the javadocs,
but I saw it with my own class-parser that this method is indeed there and
that it is tagged as "volatile" and also as "synthetic".
javap also does display that method (the one with the Object argument), but
hides away both the "volatile" and the "synthetic" flag.
I've got no reasonable idea, though, what "volatile" means for a *method*.
Is it to prevent optimizing away double-evaluation for the same args?
If so, I wasn't aware of such optimizations in the first place, and
would rather expect a tag for those methods that could be thusly optimized.