[
https://jira.codehaus.org/browse/QDOX-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277683#comment-277683
]
Robert Scholte commented on QDOX-226:
-------------------------------------
http://download.oracle.com/javase/tutorial/reflect/special/enumMembers.html
In fact it seems pretty close to the java-api.
I'll have to add at least {{isEnumConstant()}} to make it possible to recognize
both type of fields.
> Enum constructors are parsed to fields
> --------------------------------------
>
> Key: QDOX-226
> URL: https://jira.codehaus.org/browse/QDOX-226
> Project: QDox
> Issue Type: Bug
> Components: Parser
> Affects Versions: 1.12
> Reporter: Robert Scholte
> Assignee: Robert Scholte
>
> {{parser.y}} contains the following:
> {noformat}
> enum_constructor:
> IDENTIFIER { makeField(new TypeDef($1, 0), ""); } |
> IDENTIFIER CODEBLOCK { makeField(new TypeDef($1, 0), ""); } |
> IDENTIFIER PARENBLOCK { makeField(new TypeDef($1, 0), ""); } |
> IDENTIFIER PARENBLOCK CODEBLOCK { makeField(new TypeDef($1, 0), ""); };
> {noformat}
> This just can't be right, since fields and constructors are two completely
> different things.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email