org.apache.xbean.recipe
public class AsmParameterNameLoader extends java.lang.Object implements ParameterNameLoader
Constructor and Description |
---|
AsmParameterNameLoader() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
get(java.lang.reflect.Constructor constructor)
Gets the parameter names of the specified constructor or null if the class was compiled without debug symbols on.
|
java.util.List<java.lang.String> |
get(java.lang.reflect.Method method)
Gets the parameter names of the specified method or null if the class was compiled without debug symbols on.
|
java.util.Map<java.lang.reflect.Constructor,java.util.List<java.lang.String>> |
getAllConstructorParameters(java.lang.Class clazz)
Gets the parameter names of all constructor or null if the class was compiled without debug symbols on.
|
java.util.Map<java.lang.reflect.Method,java.util.List<java.lang.String>> |
getAllMethodParameters(java.lang.Class clazz,
java.lang.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 AsmParameterNameLoader()
public java.util.List<java.lang.String> get(java.lang.reflect.Method method)
get
in interface ParameterNameLoader
method
- the method for which the parameter names should be retrievedpublic java.util.List<java.lang.String> get(java.lang.reflect.Constructor constructor)
get
in interface ParameterNameLoader
constructor
- the constructor for which the parameters should be retrievedpublic java.util.Map<java.lang.reflect.Constructor,java.util.List<java.lang.String>> getAllConstructorParameters(java.lang.Class clazz)
clazz
- the class for which the constructor parameter names should be retrievedpublic java.util.Map<java.lang.reflect.Method,java.util.List<java.lang.String>> getAllMethodParameters(java.lang.Class clazz, java.lang.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-2014. All Rights Reserved.