Parameter name discovery is not always possible, but various strategies are available to try, such as looking for debug information that may have been emitted at compile time, and looking for argname annotation values optionally accompanying AspectJ annotated methods.
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: an array of parameter names if the names can be resolved, ornull if they cannotthe method to find parameter names for method)Return parameter names for a method, or |
| public String[] | Returns: an array of parameter names if the names can be resolved, ornull if they cannotthe constructor to find parameter names for ctor)Return parameter names for a constructor, or |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames(Method method) Return parameter names for a method, or Individual entries in the array may be | |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames(Constructor<?> ctor) Return parameter names for a constructor, or Individual entries in the array may be
| |