XDtMethod template tags: setCurrentMethod and ifHasMethod should find methods 
defined in the current class's ancestor types.
----------------------------------------------------------------------------------------------------------------------------

         Key: XDT-1644
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1644
     Project: XDoclet
        Type: Improvement

  Components: Core  
    Versions: 1.2.3    
    Reporter: Nicholas Daley
 Assigned to: xdoclet-devel (Use for new issues) 


At present XDtMethod:setCurrentMethod and XDtMethod:ifHasMethod will not find 
methods that are defined in the ancestors of the current class.

I was tempted to put this as a bug, because it seems inconsistent with 
XDtMethod:forAllMethods.

If I want to generate code based on a specifc method that may be defined in a 
superclass/interface of the current class, then I would have to use 
XDtMethod:forAllMethods with a XDtMethod:ifMethodNameEquals, which seems less 
readable to me.

If there are existing templates that assume that it is limited to the current 
class, and doesn't go up the class hierarchy, then perhaps adding a 
'superclasses' argument like forAllMethods has.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to