@groovy.transform.CompileStatic class ConfigurableParameterNameProvider extends java.lang.Object implements ParameterNameProvider
A configurable parameter name provider
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
PREFIX |
|
private java.util.Map<MethodKey, java.util.List<java.lang.String>> |
parameterNames |
Constructor and description |
---|
ConfigurableParameterNameProvider
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addParameterNames(java.lang.String methodName, java.lang.Class[] parameterTypes, java.util.List<java.lang.String> names) registers parameter names |
|
protected java.util.List<java.lang.String> |
buildDefault(java.lang.Class[] parameterTypes) |
|
java.util.List<java.lang.String> |
getParameterNames(java.lang.reflect.Constructor<?> constructor) |
|
java.util.List<java.lang.String> |
getParameterNames(java.lang.reflect.Method method) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
registers parameter names
methodName
- The method nameparameterTypes
- The parameter typesparameterNames
- The parameter names