public class ChainedParamReader extends java.lang.Object
| Constructor and Description |
|---|
ChainedParamReader(java.lang.Class cls)
Processes a given class's parameter names.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getParameterNames(java.lang.reflect.Constructor ctor)
Returns the names of the declared parameters for the given constructor.
|
java.lang.String[] |
getParameterNames(java.lang.reflect.Method method)
Returns the names of the declared parameters for the given method.
|
public ChainedParamReader(java.lang.Class cls) throws java.io.IOException
cls - the class which user wants to get parameter info fromjava.io.IOExceptionpublic java.lang.String[] getParameterNames(java.lang.reflect.Constructor ctor)
ctor - public java.lang.String[] getParameterNames(java.lang.reflect.Method method)
method - Copyright © 2019. All rights reserved.