That's the holy grail of JavaDoc templates to me.  +1

Of course, the @throws lines would generate according to the number of
exceptions thrown from the method declaration, as well.

----- Original Message -----
From: "Tiho Surdilovic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 10:54 AM
Subject: [Eap-list] live template help -- jdoc


> i can use some help with this one .. what i am trying to create is a live
> template (i call it "jdoc") that if envoked above a method would produce
> something like this:
>
> /**
> *@param a ( ==> actual parameter name )
> *@param b ( ==> actual parameter name )
> *@param c ( ==> actual parameter name )
> *@returns String  (==>  actual return type of method )
> *@throws SomeException (==> actual exception method throws if any)
> */
>
> ...the actual method example would be something like this...
> public String someFunc( String a, int b, float c ) throws SomeException
> {...}
>
> important thing is that the number of @param lines are generated according
> the the number of input parameters that the method takes in..is this
> possible?? what other cool live templates have you guys created??
>
> thanks in advance...
>
> t.s.
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to