public class PojoMethodFactory extends Object
| Constructor and Description |
|---|
PojoMethodFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PojoMethod |
getFieldGetter(Field field)
Returns the Getter Method for a field.
|
static PojoMethod |
getFieldSetter(Field field)
Returns the Setter Method for a field.
|
static PojoMethod |
getMethod(Class<?> clazz,
String name,
Class<?>... parameterTypes)
Returns a specific method given method name and parameters.
|
static List<PojoMethod> |
getPojoMethods(Class<?> clazz)
Returns all methods on a given Class.
|
public static List<PojoMethod> getPojoMethods(Class<?> clazz)
clazz - The class to introspect for methods / constructors.public static PojoMethod getMethod(Class<?> clazz, String name, Class<?>... parameterTypes)
clazz - The Class that holds the method.name - The name of the method to return.parameterTypes - The Parameters to match.public static PojoMethod getFieldGetter(Field field)
field - The field to lookup the getter on.public static PojoMethod getFieldSetter(Field field)
field - The field to lookup the setter on.Copyright © 2010-2016. All Rights Reserved.