public class XbeanAsmParameterNameLoader extends Object implements ParameterNameLoader
| Constructor and Description |
|---|
XbeanAsmParameterNameLoader() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
get(Constructor constructor)
Gets the parameter names of the specified constructor or null if the class was compiled without debug symbols on.
|
List<String> |
get(Method method)
Gets the parameter names of the specified method or null if the class was compiled without debug symbols on.
|
Map<Constructor,List<String>> |
getAllConstructorParameters(Class clazz)
Gets the parameter names of all constructor or null if the class was compiled without debug symbols on.
|
Map<Method,List<String>> |
getAllMethodParameters(Class clazz,
String methodName)
Gets the parameter names of all methods with the specified name or null if the class was compiled without debug symbols on.
|
public List<String> get(Method method)
get in interface ParameterNameLoadermethod - the method for which the parameter names should be retrievedpublic List<String> get(Constructor constructor)
get in interface ParameterNameLoaderconstructor - the constructor for which the parameters should be retrievedpublic Map<Constructor,List<String>> getAllConstructorParameters(Class clazz)
clazz - the class for which the constructor parameter names should be retrievedpublic Map<Method,List<String>> getAllMethodParameters(Class clazz, String methodName)
clazz - the class for which the method parameter names should be retrievedmethodName - the of the method for which the parameters should be retrievedCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.