ParameterNameDiscoverer implementation that tries several discoverer
delegates in succession. Those added first in the addDiscoverer method
have the highest priority. If one returns null, the next will be tried.
The default behavior is to return null if no discoverer matches.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addDiscoverer(ParameterNameDiscoverer pnd)
Add a further |
| 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.
|
| parameterNameDiscoverers | back to summary |
|---|---|
| private final List<ParameterNameDiscoverer> parameterNameDiscoverers | |
| PrioritizedParameterNameDiscoverer | back to summary |
|---|---|
| public PrioritizedParameterNameDiscoverer() | |
| addDiscoverer | back to summary |
|---|---|
| public void addDiscoverer(ParameterNameDiscoverer pnd) Add a further | |
| 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
| |