|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silvermindsoftware.hitch.reflect.ClassInfo
public class ClassInfo
Field Summary | |
---|---|
List<Class> |
classList
|
Constructor Summary | |
---|---|
ClassInfo(Class clazz)
|
Method Summary | |
---|---|
Field |
getField(String name)
Retrieves a single field (public, private, protected or package) from the provided class or one of its superclasses. |
Field[] |
getFields()
Array of all fields (public, private, protected or package) for the provided class and all of its superclasses. |
Method |
getGetterMethod(String name)
Retrieves a single setter method (public, private, protected or package) from the provided class or one of its superclasses. |
Method[] |
getGetters()
Array of all getter methods (public, private, protected or package) for the provided class and all of its superclasses. |
Method |
getMethod(String name,
Class[] parameterTypes)
Retrieves a single method that is not a setter or getter (public, private, protected or package) from the provided class or one of its superclasses. |
Method[] |
getMethods()
Array of all methods that are not setters or getters (public, private, protected or package) for the provided class and all of its superclasses. |
Method |
getSetterMethod(String name,
Class[] parameterTypes)
Retrieves a single getter method (public, private, protected or package) from the provided class or one of its superclasses. |
Method[] |
getSetters()
Array of all setter methods (public, private, protected or package) for the provided class and all of its superclasses. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public List<Class> classList
Constructor Detail |
---|
public ClassInfo(Class clazz)
Method Detail |
---|
public Field getField(String name) throws NoSuchFieldException
NoSuchFieldException
public Method getSetterMethod(String name, Class[] parameterTypes) throws NoSuchMethodException
NoSuchMethodException
public Method getGetterMethod(String name) throws NoSuchMethodException
NoSuchMethodException
public Method getMethod(String name, Class[] parameterTypes) throws NoSuchMethodException
NoSuchMethodException
public Field[] getFields()
public Method[] getSetters()
public Method[] getGetters()
public Method[] getMethods()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |