| Modifier and Type | Method and Description |
|---|---|
static Field |
findField(Class<?> clazz,
String name)
Tries to find a public field with the given name on the given class.
|
static Method |
findMethod(Class<?> clazz,
String name)
First tries to find a method with the same name, afterwards method
following JavaBean naming convention.
|
static boolean |
isMethodValid(Method method)
A read method:
is public
has no parameters
has non-void return type
its declaring class is not
Object
|
public static Method findMethod(Class<?> clazz, String name)
clazz - name - nullpublic static Field findField(Class<?> clazz, String name)
clazz - name - nullCopyright © 2014. All Rights Reserved.