> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> 
> I think you cant see if a class is abstract without loading it (or
using
> BCEL). Load-time checking is best done in the runner, as the classpath
> is all set up there.

If you use BCEL (or better yet ASM since it's lighter weight and
faster),
you don't need a classpath. Just the .class file at hand should tell you
whether the class is abstract or not.

You could also count the number of public void testXyz() methods, but
only define in that one .class and not its super classes (at least not
without a classpath to lookup the parents, but it's overkill IMHO). --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to