ParameterNameDiscoverer implementation which uses JDK 8's reflection facilities
for introspecting parameter names (based on the "-parameters" compiler flag).
This is a key element of DefaultParameterNameDiscoverer where it is being
combined with KotlinReflectionParameterNameDiscoverer if Kotlin is present.
java.lang.reflect.Method#getParameters() , java.lang.reflect.Parameter#getName() , KotlinReflectionParameterNameDiscoverer, DefaultParameterNameDiscoverer
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getParameterNames(Method
the method to find parameter names for method)Implements org. null if they cannot be determined.
|
| public String[] | getParameterNames(Constructor<?>
the constructor to find parameter names for ctor)Implements org. null if they cannot be determined.
|
| private String[] |
| StandardReflectionParameterNameDiscoverer | back to summary |
|---|---|
| public StandardReflectionParameterNameDiscoverer() | |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames(Method method) Implements org. Doc from org. Return parameter names for a method, or Individual entries in the array may be | |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames(Constructor<?> ctor) Implements org. Doc from org. Return parameter names for a constructor, or Individual entries in the array may be
| |
| getParameterNames | back to summary |
|---|---|
private String[] getParameterNames(Parameter[] parameters)
| |