Message:

   The following issue has been closed.

   Resolver: Aslak Helles�y
       Date: Sun, 2 Feb 2003 8:23 AM

This is beyond the scope of xjavadoc. It would be possible, using the sub AST of the 
method, but xjavadoc currently only keeps a reference to the root AST 
(CompilationUnit).

Feel free to implement this yourself. The XDoclet team won't.
---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XJD-15


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-15
    Summary: XMethod should have a getBody
       Type: Improvement

     Status: Closed
   Priority: Minor
 Resolution: WON'T FIX

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XJavaDoc
  Component: Core

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Luiz-Otavio Zorzella

    Created: Sun, 2 Feb 2003 6:12 AM
    Updated: Sun, 2 Feb 2003 8:23 AM
Environment: All

Description:
XMethod allows to get the tags and method signatures, but not the method body itself. 
This should be added. The usefulness is described in this email of mine to the list:

***********************

getting body methods is useful when dealing with "conversion" getters and setters. For 
example, if my Bean has a method:

public Integer getTempInFahrenheit () {
    return TempUtil.c2f (getTempInCelcius ());
}

(analogously for set). I could have these methods copied "as-is" to a generated Struts 
Form Object or Value Object. This is useful for any conversion: IP (Long vs String), 
date (long vs oh-so-many other ways), measurements, etc...

Any advice to a xjavadoc-dev newbie to add a getBody to XMethod (or elsewhere)? 


---------------------------------------------------------------------
JIRA INFORMATION:
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/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to