[
https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815509#comment-13815509
]
Andriy Redko commented on CXF-5309:
-----------------------------------
Hi Sergey,
I have looked on a ways to preserve method argument names. Obviously, they are
not kept unless debug build is being used.
Hibernate Validator will include parameter names provider based on Paranamer
project (https://github.com/paul-hammant/paranamer), respective implementation:
https://github.com/hibernate/hibernate-validator/blob/master/engine/src/main/java/org/hibernate/validator/parameternameprovider/ParanamerParameterNameProvider.java.
Basically, technique is well-known and based on annotation processors. If you
agree, I suggest not to spend time on that now (and reuse the later
implementation when it's released) unless we see it as a critical issue. What
do you think?
Thanks.
Andriy
> Support Bean Validation API for JAX-RS
> --------------------------------------
>
> Key: CXF-5309
> URL: https://issues.apache.org/jira/browse/CXF-5309
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-RS, JAX-WS Runtime
> Reporter: Sergey Beryozkin
> Attachments: patch-validation-exception-mapper.txt,
> patch-validation-poc.txt, patch-validation-tests.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)