public class AdaptiveParanamer extends java.lang.Object implements Paranamer
EMPTY_NAMES| Constructor and Description |
|---|
AdaptiveParanamer()
Use ParameterReflectionParanamer ahead of BytecodeReadingParanamer
|
AdaptiveParanamer(Paranamer... paranamers)
Prioritize a series of Paranamers
|
| 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 methodOrCtor,
boolean throwExceptionIfMissing)
Lookup the parameter names of a given method.
|
public AdaptiveParanamer()
public AdaptiveParanamer(Paranamer... paranamers)
paranamers - the paranamers in questionpublic java.lang.String[] lookupParameterNames(java.lang.reflect.AccessibleObject methodOrConstructor)
ParanamerlookupParameterNames in interface ParanamermethodOrConstructor - the Method or Constructor for which the parameter names
are looked up.public java.lang.String[] lookupParameterNames(java.lang.reflect.AccessibleObject methodOrCtor,
boolean throwExceptionIfMissing)
ParanamerlookupParameterNames in interface ParanamermethodOrCtor - 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).Copyright © 2005-2024 Potix Corporation. All Rights Reserved.