|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.ReflectionUtils
public final class ReflectionUtils
Method Summary | |
---|---|
static java.lang.reflect.Field |
getFieldByNameIncludingSuperclasses(java.lang.String fieldName,
java.lang.Class clazz)
|
static java.lang.reflect.Method |
getSetter(java.lang.String fieldName,
java.lang.Class clazz)
Finds a setter in the given class for the given field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.reflect.Field getFieldByNameIncludingSuperclasses(java.lang.String fieldName, java.lang.Class clazz)
public static java.lang.reflect.Method getSetter(java.lang.String fieldName, java.lang.Class clazz)
fieldName
- the name of the field (i.e. 'fooBar'); it will
search for a method named 'setFooBar'.object
- The class to find the method in.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |