public class AnnotationParameterNameDiscoverer
extends org.springframework.core.DefaultParameterNameDiscoverer
implements org.springframework.core.ParameterNameDiscoverer
ParameterNameDiscoverer that is driven by the ParameterName Annotation.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
log.
|
| Constructor and Description |
|---|
AnnotationParameterNameDiscoverer() |
| Modifier and Type | Method and Description |
|---|---|
private String |
getMyAnnotation(Annotation[] annotations)
Given the annotations for each parameter is it one of ours?
|
String[] |
getParameterNames(Constructor<?> ctor)
If we cannot do anything pass to the default discoverer. |
String[] |
getParameterNames(Method method) |
@Nullable public String[] getParameterNames(Method method)
getParameterNames in interface org.springframework.core.ParameterNameDiscoverergetParameterNames in class org.springframework.core.PrioritizedParameterNameDiscoverer@Nullable private String getMyAnnotation(Annotation[] annotations)
annotations - the annotations for the parameterpublic String[] getParameterNames(Constructor<?> ctor)
getParameterNames in interface org.springframework.core.ParameterNameDiscoverergetParameterNames in class org.springframework.core.PrioritizedParameterNameDiscovererCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.