EMPTY_NAMES| 构造器和说明 |
|---|
PositionalParanamer()
Default Contstructor with prefix
arg. |
PositionalParanamer(String prefix)
Constructor that allows to override the prefix.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
lookupParameterNames(AccessibleObject methodOrConstructor)
Lookup the parameter names of a given method.
|
String[] |
lookupParameterNames(AccessibleObject methodOrCtor,
boolean throwExceptionIfMissing)
Lookup the parameter names of a given method.
|
public PositionalParanamer()
arg.public PositionalParanamer(String prefix)
prefix - string that is prepended before the position of the parameter.public String[] lookupParameterNames(AccessibleObject methodOrConstructor)
ParanamerlookupParameterNames 在接口中 ParanamermethodOrConstructor - the Method or Constructor for which the parameter names
are looked up.public String[] lookupParameterNames(AccessibleObject methodOrCtor, boolean throwExceptionIfMissing)
ParanamerlookupParameterNames 在接口中 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 © 2018. All rights reserved.