[hibernate-issues] [Hibernate-JIRA] Created: (BVAL-243) Provide a means for specifying method parameter names

Gunnar Morling (JIRA) noreply at atlassian.com
Sun Sep 25 06:20:35 EDT 2011


Provide a means for specifying method parameter names
-----------------------------------------------------

                 Key: BVAL-243
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/BVAL-243
             Project: Bean Validation
          Issue Type: Sub-task
            Reporter: Gunnar Morling


Emmanuel wrote:

{quote}
On named parameters we have three strategies I think:
- not address the problem at all and use positional parameters to see what comes up JDK 8's hat (named parameters might not be represented as strings but rather as a typed object)
- not address the problem in the specification but leave the API open enough for a provider to offer a named parameter friendly API
- address the problem within the spec (the interface approach seems elegant) hoping for the named parameter to be represented as a String in JDK 8

I tend to like param0, param1 etc rather than arg0, arg1 but that's aesthetic.
{quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list