The following comment has been added to this issue:

     Author: Gili
    Created: Sat, 30 Oct 2004 1:26 PM
       Body:
Scott,

What you said makes no sense to me. Generics, enums and most of the other JDK 1.5 
features are purely compiler syntactic suger. Hence, there is absolutely no benefit to 
having XDoclet "recognizer" them as enums, generics etc. If XDoclet sees "Set" instead 
of "Set<Integer>" that is absolutely fine and the resulting mappings will be valid.

Adding JDK-1.5 recognition is nice to have because then this:

@hibernate.collection-one-to-many class="someType"

changes into:

@hibernate.collection-one-to-many

and XDoclet is smart enough to auto-detect the "class" by grabbing the generic type.

Again, this is just syntactic suger and is not required. If you guys filter JDK 1.5 
code into 1.4 before feeding it into XDoclet it'll make me (and others) very happy. 
You can use the regexp mentioned above as a starting point.
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XJD-41?page=comments#action_15189

---------------------------------------------------------------------
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 1:26 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

Reply via email to