|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sasl.language.placeholder.aop.resolver.ParanamerChainDelegator
public class ParanamerChainDelegator
Simple delegator class to paranamer implementations which tries to resolve
parameter names over different paranamer resolve strategies until one
strategie succeeds. The class does basically the same as
AdaptiveParanamer
. If
all resolvers fail than the default parameter table will be of the form
"arg0", "arg1", ...
http://paranamer.codehaus.org/}
Constructor Summary | |
---|---|
ParanamerChainDelegator()
|
Method Summary | |
---|---|
List<com.thoughtworks.paranamer.Paranamer> |
getChainList()
Returns the list of paranamer implementations which will be used for resolution of parameter names. |
String[] |
loadParameterTable(Method method)
Tries to load the parameter names of the method. |
void |
setChainList(List<com.thoughtworks.paranamer.Paranamer> chainList)
Sets a list of paranamer implementations which will be used for resolution of parameter names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParanamerChainDelegator()
Method Detail |
---|
public List<com.thoughtworks.paranamer.Paranamer> getChainList()
public void setChainList(List<com.thoughtworks.paranamer.Paranamer> chainList)
chainList
- null or non nullpublic String[] loadParameterTable(Method method) throws IllegalArgumentException
IParameterNameLoader
loadParameterTable
in interface IParameterNameLoader
method
- non null
IllegalArgumentException
philipp.aop.logging.parameter.IParameterNameLoader}
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |