@Singleton public class DefaultParameterNameProvider extends Object implements ParameterNameProvider
ParameterNameProvider
interface that.Constructor and Description |
---|
DefaultParameterNameProvider(BeanContext beanContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected List<String> |
defaultParameterTypes(Class<?>[] parameterTypes)
Add the parameter types to a list of names.
|
List<String> |
getParameterNames(Constructor<?> constructor) |
List<String> |
getParameterNames(Method method) |
public DefaultParameterNameProvider(BeanContext beanContext)
beanContext
- beanContextpublic List<String> getParameterNames(Constructor<?> constructor)
getParameterNames
in interface ParameterNameProvider
public List<String> getParameterNames(Method method)
getParameterNames
in interface ParameterNameProvider