|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jsesoft.ri.ClassInspector
public class ClassInspector
Provides an inspector for classes.
Constructor Summary | |
---|---|
ClassInspector(java.lang.Class<?>... theTypes)
Creates new ClassInspector for inspecting given class items. |
|
ClassInspector(java.lang.Class<?> theType)
Creates new ClassInspector for inspecting given class item. |
Method Summary | |
---|---|
java.lang.Class<?>[] |
getTypes()
Gets types. |
void |
inspectItem(java.lang.Class<?> inspected,
PassBack passBack)
Inspects the item. |
void |
inspectItems(PassBack passBack)
Inspects the a list of items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassInspector(java.lang.Class<?> theType)
theType
- the class item to inspectpublic ClassInspector(java.lang.Class<?>... theTypes)
theTypes
- the class items to inspectMethod Detail |
---|
public void inspectItem(java.lang.Class<?> inspected, PassBack passBack) throws java.lang.Exception
Inspects the classe's fields, constructors, methods, and superclass (until sentinel).
inspectItem
in interface Inspector<java.lang.Class<?>>
inspected
- the sub-item to inspectpassBack
- an object passed back by all inspect functions
java.lang.Exception
- on failureorg.jsesoft.ri.Inspector#inspectItem(java.lang.Object)
public void inspectItems(PassBack passBack) throws java.lang.Exception
inspectItems
in interface Inspector<java.lang.Class<?>>
passBack
- an object passed back by all inspect functions
java.lang.Exception
- on failureorg.jsesoft.ri.Inspector#inspectItems()
public java.lang.Class<?>[] getTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |