John Keiser <[EMAIL PROTECTED]> wrote
> In a package, class or method declaration, the tag @XXX would 
> allow you to write a task that needs to be done on the code, 
> or something that needs looking at.  This way, GNU javadoc 
> could generate a task list based directly off the source!
> An extra option would be to allow @XXX in  comments inside
> the actual method body so that one can tell the line number 
> as well.

I've written a simple macro processor for Java which uses
syntax like @Foo(arg1, arg2) to instantiate an instance 
of the class macros.Foo, pass "arg1, arg2" to a replace() 
method, and insert the result into the resulting source file.
Because it's so general (the Foo macro can write to files, 
whatever), you could use it to do something like this -- 
you'd just make your "macro" do its work and then return "" 
as its result.

kim

Reply via email to