[jboss-jira] [JBoss JIRA] (LOGTOOL-79) Annotations to specify a precise signature

James Perkins (JIRA) issues at jboss.org
Fri Apr 24 19:42:52 EDT 2015


    [ https://issues.jboss.org/browse/LOGTOOL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062622#comment-13062622 ] 

James Perkins commented on LOGTOOL-79:
--------------------------------------

What about just a {{@Signature}} with a {{causeIndex}} and {{messsageIndex}} attribute?

> Annotations to specify a precise signature
> ------------------------------------------
>
>                 Key: LOGTOOL-79
>                 URL: https://issues.jboss.org/browse/LOGTOOL-79
>             Project: Log Tool
>          Issue Type: Feature Request
>            Reporter: David Lloyd
>            Assignee: James Perkins
>
> There should be annotations to specify the exact method or constructor signature to select, and to specify exact parameter indices for the message and/or cause.
> * {{@Signature}} would take an array of {{Class}}es which match the method/constructor signature
> * {{@CauseIndex}} would take a one-based integer which specifies which parameter should be used as the exception cause
> * {{@MessageIndex}} would take a one-based integer which specifies which parameter should be used as the message



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list