public class AnnotationParameterNameDiscoverer extends Object implements ParameterNameDiscoverer
ParameterNameDiscoverer based on Param annotations to resolve parameter names.| Constructor and Description |
|---|
AnnotationParameterNameDiscoverer() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
doGetParameterNames(Annotation[][] parameterAnnotations) |
String[] |
getParameterNames(Constructor<?> ctor)
Return parameter names for this constructor, or
null if they cannot be determined. |
String[] |
getParameterNames(Method method)
Return parameter names for this method, or
null if they cannot be determined. |
public String[] getParameterNames(Method method)
ParameterNameDiscoverernull if they cannot be determined.getParameterNames in interface ParameterNameDiscoverermethod - method to find parameter names for.null if they cannot.public String[] getParameterNames(Constructor<?> ctor)
ParameterNameDiscoverernull if they cannot be determined.getParameterNames in interface ParameterNameDiscovererctor - constructor to find parameter names for.null if they cannot.protected String[] doGetParameterNames(Annotation[][] parameterAnnotations)
Copyright © 2020 lettuce.io. All rights reserved.