Now posting this over to -devel.  It seems that ifHasMethod is broken.  Or
is it just me?



----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>

>   <XDtMethod:ifHasMethod name="setValue">
>         without parameters
>   </XDtMethod:ifHasMethod>
>
>   <XDtMethod:ifHasMethod name="setValue" parameters="java.lang.String">
>     with parameters
>   </XDtMethod:ifHasMethod>
>
> All I get generated is "with parameters".  That is not what the
> documentation says about ifHasMethod:
>
> "Evaluate the body if current class has a method with the specified
> name+parameters. If parameters not specified then any method with the
given
> name and any set of parameters is considered equal to the given method
name
> and so the test result is positive and the body is evaluated. This method
> does not change the current method to the one specified."
>
> Clearly I have a setValue method - so why doesn't the first ifHasMethod
pick
> it up?  Shouldn't it?
>
> I tried replacing the first 'ifHasMethod' with 'setCurrentMethod' and it
> still did not get picked up.



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to