public final class MethodInfoHelper extends Object
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 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
- Copyright © 2015 JBoss by Red Hat. All rights reserved.