The following comment has been added to this issue:
Author: Gili
Created: Sat, 30 Oct 2004 5:00 PM
Body:
Scott,
Agreed, but my point is that XDoclet processes files one at a time. The only time
you have to concern yourself with enums is when you're processing their .java file. In
such a case, you simply have to swap "enum" for "class" and convert its values into
"final int" values and you're done. In fact, I will go further and say that you could
even strip the values altogether since XDoclet doesn't care about the actual class
implementation, but rather about its commments.
So when processing enums, we simply need to replace "enum" by "class" and strip
away the values. I'm not sure what the specification says about enums, but from what
I've seen, everything between the beginning of the class body up until the first
semicolor seems to make up the values. Stripping them should be simple enough. If the
specification turns out to be more complicated, we could always enhance our enum
support in the future but this should be enough for a start.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=comments#action_15193
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XJD-41
Summary: Support Java 1.5 Syntax ?
Type: Improvement
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XJavaDoc
Components:
Parser
Fix Fors:
1.2
Versions:
1.0.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Hao Chen
Created: Mon, 1 Mar 2004 9:11 AM
Updated: Sat, 30 Oct 2004 5:00 PM
Description:
Is there any plan to upgrade the parser to support Java 1.5 syntax?
---------------------------------------------------------------------
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/secure/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:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel