On 20 Mar 2006 11:45:27 -0700, Tom Tromey <tromey@xxxxxxxxxx> wrote: > Having a list of stubs would be a good start. The ones I fixed this > weekend I ran across by chance; I had no idea we had stubs in AWT at > all. > > I like David's idea of a STUB comment. Does anyone know if eclipse allows plugging in custom rules to produce warnings, and where (if anywhere) there's documentation on how to produce such rules? I'd be interested in working on a "stub detector" but I don't really feel like writing an entire Java language parser for the purpose. If anyone can point me to a framework which made it fairly simple to write rules that define criteria based on the structure/semantics of the source code, I'll have a stab at this. FindBugs also sounds like the kind of thing I'm looking for (although I'd rather have something that could work on the source than on the bytecode, because I'm thinking it should be possible to ignore methods if they have a comment like "nothing to do here"), except that (last I heard) it wasn't runnable on a Free runtime. Is this still true? Stuart. -- http://sab39.dev.netreach.com/