#617 - AnnotatedParametersParameterAccessor now considers @AliasFor declarations.
We're now using SynthesizingMethodParameter to correctly support annotation attributes that use @AliasFor. Original pull request: #621.
This commit is contained in:
committed by
Oliver Gierke
parent
4ad8c3b9aa
commit
5faf9858bb
@@ -24,6 +24,7 @@ import java.util.Map;
|
||||
import org.springframework.core.DefaultParameterNameDiscoverer;
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.core.ParameterNameDiscoverer;
|
||||
import org.springframework.core.annotation.SynthesizingMethodParameter;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.ConcurrentReferenceHashMap;
|
||||
|
||||
@@ -151,7 +152,7 @@ public class MethodParameters {
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
*/
|
||||
private static class AnnotationNamingMethodParameter extends MethodParameter {
|
||||
private static class AnnotationNamingMethodParameter extends SynthesizingMethodParameter {
|
||||
|
||||
private final AnnotationAttribute attribute;
|
||||
private String name;
|
||||
|
||||
Reference in New Issue
Block a user