public class PojoMethodFactory
extends java.lang.Object
| Constructor and Description |
|---|
PojoMethodFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PojoMethod |
getFieldGetter(java.lang.reflect.Field field)
Returns the Getter Method for a field.
|
static PojoMethod |
getFieldSetter(java.lang.reflect.Field field)
Returns the Setter Method for a field.
|
static PojoMethod |
getMethod(java.lang.Class<?> clazz,
java.lang.String name,
java.lang.Class<?>... parameterTypes)
Returns a specific method given method name and parameters.
|
static java.util.List<PojoMethod> |
getPojoMethods(java.lang.Class<?> clazz)
Returns all methods on a given Class.
|
public static java.util.List<PojoMethod> getPojoMethods(java.lang.Class<?> clazz)
clazz - The class to introspect for methods / constructors.public static PojoMethod getMethod(java.lang.Class<?> clazz, java.lang.String name, java.lang.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(java.lang.reflect.Field field)
field - The field to lookup the getter on.public static PojoMethod getFieldSetter(java.lang.reflect.Field field)
field - The field to lookup the setter on.Copyright © 2010-2015. All Rights Reserved.