public interface Paranamer
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
EMPTY_NAMES |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
lookupParameterNames(java.lang.reflect.AccessibleObject methodOrConstructor)
Lookup the parameter names of a given method.
|
java.lang.String[] |
lookupParameterNames(java.lang.reflect.AccessibleObject methodOrConstructor,
boolean throwExceptionIfMissing)
Lookup the parameter names of a given method.
|
java.lang.String[] lookupParameterNames(java.lang.reflect.AccessibleObject methodOrConstructor)
methodOrConstructor
- the Method
or Constructor
for which the parameter names
are looked up.ParameterNamesNotFoundException
- if no parameter names were found.java.lang.NullPointerException
- if the parameter is null.java.lang.SecurityException
- if reflection is not permitted on the containing Class
of the
parameterjava.lang.String[] lookupParameterNames(java.lang.reflect.AccessibleObject methodOrConstructor, boolean throwExceptionIfMissing)
methodOrConstructor
- the Method
or Constructor
for which the parameter names
are looked up.throwExceptionIfMissing
- whether to throw an exception if no Paranamer data found (versus return null).ParameterNamesNotFoundException
- if no parameter names were found.java.lang.NullPointerException
- if the parameter is null.java.lang.SecurityException
- if reflection is not permitted on the containing Class
of the
parameterCopyright © 2005-2021 Potix Corporation. All Rights Reserved.