|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.gilead.util.IntrospectionHelper
public class IntrospectionHelper
Singleton for instrospection search
Constructor Summary | |
---|---|
IntrospectionHelper()
|
Method Summary | |
---|---|
static java.lang.reflect.Field[] |
getRecursiveDeclaredFields(java.lang.Class<?> clazz)
Recursively get declared fields |
static java.lang.reflect.Method |
getRecursiveDeclaredMethod(java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Class<?>... parameterTypes)
Recursively find declared method with the argument name Important notice : does not check parameters types since it is used for searching getter and setter ! |
static java.lang.Object |
searchMember(java.lang.Class<?> clazz,
java.lang.Object root)
Search nested class from the attributes of the argument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntrospectionHelper()
Method Detail |
---|
public static java.lang.reflect.Field[] getRecursiveDeclaredFields(java.lang.Class<?> clazz)
public static java.lang.reflect.Method getRecursiveDeclaredMethod(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.Class<?>... parameterTypes) throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public static java.lang.Object searchMember(java.lang.Class<?> clazz, java.lang.Object root)
clazz
- the searched classroot
- the root object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |