public class ParameterNamer extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?> |
getListType(Method method,
int parameterIndex)
Returns the contents type of a collection class argument.
|
static List<String> |
getParameterNames(Method method)
Returns the list of parameter names of the given method.
|
public static Class<?> getListType(Method method, int parameterIndex)
java.util.List<String>
. If the collection is a raw type, null
is returned.Copyright © 2008-2012 Anders Møller & Mathias Schwarz.