public final class MethodInfoHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
EMPTY_STRING_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getCanonicalParameterTypes(Method viewMethod)
This method returns the class names of the parameters of the given method
in canonical form.
|
public static final String[] EMPTY_STRING_ARRAY
public static String[] getCanonicalParameterTypes(Method viewMethod)
The canonical form is the one that is used in deployment descriptors.
Example: For the method f(String[] arg0, String arg1, int) this method will return
{"java.lang.String[]", "java.lang.String", "int"}
viewMethod - the method to extract its parameter typesCopyright © 2022 JBoss by Red Hat. All rights reserved.