ParameterNameProvider implementation backed by the ParaNamer
library.
The Paranamer implementation to use can be passed when creating a ParanamerParameterNameProvider. By
default a AdaptiveParanamer will be used which is wrapped into a CachingParanamer. If no parameter
names can be obtained from the configured Paranamer, the default parameter name provider will be used as
fall back.
The ParaNamer library must be present on the classpath when using this parameter name provider.
| Modifier and Type | Field and Description |
|---|---|
| private final ParameterNameProvider | |
| private final Paranamer |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | getParameterNames(Constructor<?>
the constructor for which the parameter names shall be
retrieved; never constructor)nullImplements jakarta. |
| public List | getParameterNames(Method
the method for which the parameter names shall be retrieved;
never method)nullImplements jakarta. |
| fallBackProvider | back to summary |
|---|---|
| private final ParameterNameProvider fallBackProvider | |
| paranamer | back to summary |
|---|---|
| private final Paranamer paranamer | |
| ParanamerParameterNameProvider | back to summary |
|---|---|
| public ParanamerParameterNameProvider() | |
| ParanamerParameterNameProvider | back to summary |
|---|---|
| public ParanamerParameterNameProvider(Paranamer paranamer) | |
| getParameterNames | back to summary |
|---|---|
| public List Implements jakarta. Doc from jakarta. Returns the names of the parameters of the given constructor.
| |
| getParameterNames | back to summary |
|---|---|
| public List Implements jakarta. Doc from jakarta. Returns the names of the parameters of the given method. | |