[jboss-jira] [JBoss JIRA] (LOGTOOL-36) Have the annotation processor output more information on invalid methods
James Perkins (Commented) (JIRA)
jira-events at lists.jboss.org
Mon Oct 24 14:15:46 EDT 2011
[ https://issues.jboss.org/browse/LOGTOOL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637000#comment-12637000 ]
James Perkins commented on LOGTOOL-36:
--------------------------------------
When I get some time I'm going to do some more in depth testing on this, but it looks like the lack of detail has to do with the java.annotation.processing.Messager. It seems passing in an element from a super interface doesn't seem to resolve information about the element.
We could print the method and qualified interface name at least, but we wouldn't get the nice line numbers like we do with the element.
> Have the annotation processor output more information on invalid methods
> ------------------------------------------------------------------------
>
> Key: LOGTOOL-36
> URL: https://issues.jboss.org/browse/LOGTOOL-36
> Project: Log Tool
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: Sanne Grinovero
> Assignee: James Perkins
> Priority: Minor
>
> If an error is logged like in
> {quote}
> [INFO] diagnostic error: All message bundles and message logger messageMethods must have or inherit a message.
> {quote}
> It would be nice to actually log to which method it's referring to.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list